Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007822/0.0007822, allocations: 76.5 kB / 19.93 MB, free: 4.629 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0007989/0.0007989, allocations: 177.9 kB / 23.21 MB, free: 1.348 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8497/0.8497, allocations: 177.2 MB / 203.5 MB, free: 5.715 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.651/1.651, allocations: 359 MB / 0.6044 GB, free: 11.11 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sin.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin") translateModel(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sin.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.025e-06/3.025e-06, allocations: 0 / 0.9518 GB, free: 2.953 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.674e-05/2.977e-05, allocations: 2.281 kB / 0.9518 GB, free: 2.949 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin): time 0.001283/0.001313, allocations: 0.6148 MB / 0.9524 GB, free: 2.332 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0007955/0.002109, allocations: 0.8392 MB / 0.9532 GB, free: 1.48 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.892e-05/0.002137, allocations: 4 kB / 0.9532 GB, free: 1.477 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 2.573e-05/0.002163, allocations: 0 / 0.9532 GB, free: 1.477 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 5.071e-05/0.002214, allocations: 3.938 kB / 0.9532 GB, free: 1.473 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002133/0.002427, allocations: 11.98 kB / 0.9532 GB, free: 1.461 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 7.01e-05/0.002497, allocations: 19.86 kB / 0.9532 GB, free: 1.441 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 4.084e-05/0.002538, allocations: 4 kB / 0.9532 GB, free: 1.438 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000138/0.002676, allocations: 19.98 kB / 0.9533 GB, free: 1.418 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 4.97e-05/0.002726, allocations: 11.98 kB / 0.9533 GB, free: 1.406 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.319e-05/0.002739, allocations: 0 / 0.9533 GB, free: 1.406 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 3.959e-05/0.002779, allocations: 4 kB / 0.9533 GB, free: 1.402 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 8.436e-06/0.002787, allocations: 0 / 0.9533 GB, free: 1.402 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 1.508e-05/0.002802, allocations: 3.938 kB / 0.9533 GB, free: 1.398 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 9.341e-05/0.002896, allocations: 31.89 kB / 0.9533 GB, free: 1.367 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 1.894e-06/0.002897, allocations: 3.938 kB / 0.9533 GB, free: 1.363 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.473e-06/0.002899, allocations: 0 / 0.9533 GB, free: 1.363 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 4.498e-06/0.002903, allocations: 0 / 0.9533 GB, free: 1.363 MB / 0.9011 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003013/0.003205, allocations: 254.4 kB / 0.9535 GB, free: 1.082 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.572e-05/0.00324, allocations: 8.031 kB / 0.9536 GB, free: 1.074 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001026/0.003343, allocations: 12.92 kB / 0.9536 GB, free: 1.062 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.594e-05/0.003419, allocations: 113.7 kB / 0.9537 GB, free: 0.9258 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.002e-05/0.003429, allocations: 4.375 kB / 0.9537 GB, free: 0.9219 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.703e-06/0.003436, allocations: 384 / 0.9537 GB, free: 0.9219 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.806e-05/0.003524, allocations: 34.25 kB / 0.9537 GB, free: 0.8828 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.382e-06/0.00353, allocations: 192 / 0.9537 GB, free: 0.8828 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.905e-06/0.003538, allocations: 384 / 0.9537 GB, free: 0.8828 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/0.003542, allocations: 384 / 0.9537 GB, free: 0.8828 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.753e-05/0.00358, allocations: 19.92 kB / 0.9537 GB, free: 0.8633 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001026/0.003682, allocations: 105.3 kB / 0.9538 GB, free: 0.7305 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 4.507e-05/0.003727, allocations: 30.55 kB / 0.9539 GB, free: 0.6914 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.406e-05/0.003751, allocations: 12.91 kB / 0.9539 GB, free: 0.6758 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 1.15e-05/0.003763, allocations: 0 / 0.9539 GB, free: 0.6758 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.156e-05/0.003784, allocations: 30.56 kB / 0.9539 GB, free: 0.6367 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=1): time 9.71e-07/0.003785, allocations: 0 / 0.9539 GB, free: 0.6367 MB / 0.9011 GB Notification: Performance of matching and sorting (n=1): time 0.0001292/0.003915, allocations: 57.62 kB / 0.954 GB, free: 0.5742 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.805e-05/0.003943, allocations: 59.33 kB / 0.954 GB, free: 0.5039 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.418e-05/0.003997, allocations: 109.8 kB / 0.9541 GB, free: 396 kB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 8.807e-06/0.004006, allocations: 25.7 kB / 0.9541 GB, free: 364 kB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 2.932e-05/0.004035, allocations: 84.14 kB / 0.9542 GB, free: 276 kB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 2.624e-05/0.004061, allocations: 11.89 kB / 0.9542 GB, free: 264 kB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.209e-05/0.004083, allocations: 13.7 kB / 0.9543 GB, free: 244 kB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 8.777e-05/0.004171, allocations: 310.8 kB / 0.9545 GB, free: 15.93 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.281e-05/0.004194, allocations: 8 kB / 0.9546 GB, free: 15.92 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.78e-05/0.004212, allocations: 12.11 kB / 0.9546 GB, free: 15.91 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.016e-05/0.004252, allocations: 20.91 kB / 0.9546 GB, free: 15.88 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.004254, allocations: 0 / 0.9546 GB, free: 15.88 MB / 0.9167 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.823e-05/0.004312, allocations: 53.61 kB / 0.9546 GB, free: 15.82 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.119e-05/0.004323, allocations: 8 kB / 0.9546 GB, free: 15.82 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.087e-06/0.004327, allocations: 0 / 0.9546 GB, free: 15.82 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.839e-06/0.004337, allocations: 0 / 0.9546 GB, free: 15.82 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.77e-05/0.004385, allocations: 4 kB / 0.9546 GB, free: 15.81 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.088e-06/0.004389, allocations: 0 / 0.9546 GB, free: 15.81 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.437e-05/0.004403, allocations: 11.95 kB / 0.9547 GB, free: 15.8 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.33e-06/0.004409, allocations: 0 / 0.9547 GB, free: 15.8 MB / 0.9167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.716e-05/0.004456, allocations: 109.8 kB / 0.9548 GB, free: 15.68 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.596e-06/0.004459, allocations: 0 / 0.9548 GB, free: 15.68 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.522e-05/0.004474, allocations: 7.156 kB / 0.9548 GB, free: 15.68 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.242e-06/0.004476, allocations: 0 / 0.9548 GB, free: 15.68 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.00448, allocations: 4 kB / 0.9548 GB, free: 15.67 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.004483, allocations: 3.938 kB / 0.9548 GB, free: 15.67 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.157e-05/0.004534, allocations: 101.3 kB / 0.9549 GB, free: 15.54 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.01e-07/0.004535, allocations: 0 / 0.9549 GB, free: 15.54 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.123e-05/0.004546, allocations: 7.938 kB / 0.9549 GB, free: 15.53 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.52e-07/0.004547, allocations: 0 / 0.9549 GB, free: 15.53 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.543e-06/0.004553, allocations: 7.984 kB / 0.9549 GB, free: 15.52 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.11e-07/0.004554, allocations: 0 / 0.9549 GB, free: 15.52 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.004555, allocations: 0 / 0.9549 GB, free: 15.52 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.805e-05/0.004623, allocations: 76.95 kB / 0.955 GB, free: 15.43 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 5.36e-06/0.004628, allocations: 4 kB / 0.955 GB, free: 15.43 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.526e-06/0.004637, allocations: 0 / 0.955 GB, free: 15.43 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.638e-06/0.004646, allocations: 3.938 kB / 0.955 GB, free: 15.42 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.521e-05/0.004672, allocations: 12.02 kB / 0.955 GB, free: 15.41 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.703e-06/0.004673, allocations: 256 / 0.955 GB, free: 15.41 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 2.559e-05/0.004699, allocations: 87.28 kB / 0.9551 GB, free: 15.32 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.004699, allocations: 0 / 0.9551 GB, free: 15.32 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001154/0.004814, allocations: 3.938 kB / 0.9551 GB, free: 15.32 MB / 0.9167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 6.933e-05/0.004884, allocations: 99.23 kB / 0.9552 GB, free: 15.21 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 8.012e-05/0.004964, allocations: 16 kB / 0.9552 GB, free: 15.2 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.004966, allocations: 0 / 0.9552 GB, free: 15.2 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 1.918e-05/0.004985, allocations: 15.98 kB / 0.9552 GB, free: 15.18 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001098/0.005095, allocations: 1.891 kB / 0.9552 GB, free: 15.18 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002065/0.005301, allocations: 134.5 kB / 0.9553 GB, free: 15.02 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.357e-05/0.005335, allocations: 59.34 kB / 0.9554 GB, free: 14.94 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.206e-05/0.005357, allocations: 12.5 kB / 0.9554 GB, free: 14.93 MB / 0.9167 GB Notification: Performance of SimCode: time 5.81e-07/0.005357, allocations: 0 / 0.9554 GB, free: 14.93 MB / 0.9167 GB Notification: Performance of Templates: time 0.001284/0.006641, allocations: 480.5 kB / 0.9559 GB, free: 14.46 MB / 0.9167 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Sin.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 6.345951918512583]