Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Reals.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.001809/0.001809, allocations: 79.67 kB / 19.18 MB, free: 2.516 MB / 14.72 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.0022/0.0022, allocations: 164.1 kB / 22.46 MB, free: 5.375 MB / 14.72 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 1.57/1.57, allocations: 177.1 MB / 202.8 MB, free: 9.164 MB / 190.1 MB " [Timeout remaining time 178] 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 2.918/2.918, allocations: 359 MB / 0.6037 GB, free: 14.98 MB / 0.5762 GB " [Timeout remaining time 176] 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.Validation.Sin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sin1.u|sin1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Sin") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Sin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sin1.u|sin1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Sin") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.507e-06/3.507e-06, allocations: 0 / 0.951 GB, free: 11.5 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.402e-05/3.753e-05, allocations: 2.281 kB / 0.951 GB, free: 11.49 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Sin): time 0.002156/0.002194, allocations: 0.6679 MB / 0.9517 GB, free: 10.82 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001444/0.003638, allocations: 0.847 MB / 0.9525 GB, free: 9.961 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.614e-05/0.003684, allocations: 4 kB / 0.9525 GB, free: 9.957 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.99e-05/0.003714, allocations: 4 kB / 0.9525 GB, free: 9.953 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 6.658e-05/0.00378, allocations: 3.938 kB / 0.9525 GB, free: 9.949 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002551/0.004035, allocations: 11.98 kB / 0.9525 GB, free: 9.938 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 9.417e-05/0.00413, allocations: 23.92 kB / 0.9526 GB, free: 9.914 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001222/0.004252, allocations: 8 kB / 0.9526 GB, free: 9.906 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 8.211e-05/0.004334, allocations: 15.92 kB / 0.9526 GB, free: 9.891 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 4.157e-05/0.004375, allocations: 3.984 kB / 0.9526 GB, free: 9.887 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.739e-05/0.004393, allocations: 4 kB / 0.9526 GB, free: 9.883 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 4.763e-05/0.00444, allocations: 4 kB / 0.9526 GB, free: 9.879 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.787e-05/0.004468, allocations: 7.984 kB / 0.9526 GB, free: 9.871 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.367e-05/0.004492, allocations: 4 kB / 0.9526 GB, free: 9.867 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001185/0.00461, allocations: 35.84 kB / 0.9526 GB, free: 9.832 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/0.004616, allocations: 3.984 kB / 0.9526 GB, free: 9.828 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.052e-06/0.004617, allocations: 0 / 0.9526 GB, free: 9.828 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.043e-05/0.004628, allocations: 0 / 0.9526 GB, free: 9.828 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.000557/0.005185, allocations: 262.3 kB / 0.9529 GB, free: 9.539 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.693e-05/0.005232, allocations: 12.03 kB / 0.9529 GB, free: 9.527 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.412e-05/0.005326, allocations: 4.875 kB / 0.9529 GB, free: 9.523 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001516/0.005477, allocations: 109.8 kB / 0.953 GB, free: 9.391 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.092e-05/0.005488, allocations: 4.375 kB / 0.953 GB, free: 9.387 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.294e-05/0.005501, allocations: 4.375 kB / 0.953 GB, free: 9.383 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001916/0.005693, allocations: 50.23 kB / 0.9531 GB, free: 9.328 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.939e-06/0.005703, allocations: 192 / 0.9531 GB, free: 9.328 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.558e-06/0.005712, allocations: 384 / 0.9531 GB, free: 9.328 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.664e-06/0.00572, allocations: 4.375 kB / 0.9531 GB, free: 9.324 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001754/0.005895, allocations: 35.89 kB / 0.9531 GB, free: 9.289 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003673/0.006263, allocations: 192.6 kB / 0.9533 GB, free: 9.07 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001443/0.006407, allocations: 38.56 kB / 0.9533 GB, free: 9.023 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001072/0.006514, allocations: 28.89 kB / 0.9534 GB, free: 8.992 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.037e-05/0.006535, allocations: 0 / 0.9534 GB, free: 8.992 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.998e-05/0.006565, allocations: 30.56 kB / 0.9534 GB, free: 8.953 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/0.006566, allocations: 0 / 0.9534 GB, free: 8.953 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0004256/0.006991, allocations: 89.52 kB / 0.9535 GB, free: 8.859 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.759e-05/0.007039, allocations: 51.41 kB / 0.9535 GB, free: 8.797 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001116/0.00715, allocations: 102 kB / 0.9536 GB, free: 8.688 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.416e-05/0.007175, allocations: 33.64 kB / 0.9537 GB, free: 8.648 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 6.508e-05/0.00724, allocations: 88.06 kB / 0.9537 GB, free: 8.559 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.198e-05/0.007262, allocations: 3.953 kB / 0.9537 GB, free: 8.555 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.492e-05/0.007307, allocations: 13.72 kB / 0.9538 GB, free: 8.535 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001626/0.007469, allocations: 314.8 kB / 0.9541 GB, free: 8.219 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.53e-05/0.007554, allocations: 11.98 kB / 0.9541 GB, free: 8.207 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.846e-05/0.007633, allocations: 23.97 kB / 0.9541 GB, free: 8.184 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001615/0.007794, allocations: 40.89 kB / 0.9541 GB, free: 8.141 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.007797, allocations: 0 / 0.9541 GB, free: 8.141 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002068/0.008003, allocations: 65.59 kB / 0.9542 GB, free: 8.07 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.892e-05/0.008022, allocations: 8 kB / 0.9542 GB, free: 8.062 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.854e-05/0.008041, allocations: 3.938 kB / 0.9542 GB, free: 8.059 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.072e-05/0.008062, allocations: 0 / 0.9542 GB, free: 8.059 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001008/0.008162, allocations: 12.02 kB / 0.9542 GB, free: 8.047 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.691e-06/0.008168, allocations: 0 / 0.9542 GB, free: 8.047 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.738e-05/0.008215, allocations: 7.953 kB / 0.9542 GB, free: 8.039 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.328e-06/0.008225, allocations: 4 kB / 0.9542 GB, free: 8.035 MB / 0.8575 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 (2): * Single equations (assignments): 2 * 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 9.425e-05/0.008319, allocations: 109.8 kB / 0.9543 GB, free: 7.918 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.573e-05/0.008345, allocations: 0 / 0.9543 GB, free: 7.918 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002604/0.008605, allocations: 80.83 kB / 0.9544 GB, free: 7.832 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.008608, allocations: 0 / 0.9544 GB, free: 7.832 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.008612, allocations: 4.031 kB / 0.9544 GB, free: 7.828 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.796e-06/0.008615, allocations: 0 / 0.9544 GB, free: 7.828 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00016/0.008775, allocations: 101.5 kB / 0.9545 GB, free: 7.699 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.837e-06/0.008779, allocations: 7.922 kB / 0.9545 GB, free: 7.691 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.03e-05/0.008839, allocations: 8 kB / 0.9545 GB, free: 7.684 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.07e-06/0.008844, allocations: 3.984 kB / 0.9545 GB, free: 7.68 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.195e-06/0.008852, allocations: 0 / 0.9545 GB, free: 7.68 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.521e-06/0.008858, allocations: 7.938 kB / 0.9545 GB, free: 7.672 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.008859, allocations: 0 / 0.9545 GB, free: 7.672 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002829/0.009142, allocations: 171.5 kB / 0.9547 GB, free: 7.488 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.042e-05/0.009153, allocations: 3.984 kB / 0.9547 GB, free: 7.484 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.253e-05/0.009165, allocations: 0 / 0.9547 GB, free: 7.484 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.705e-05/0.009242, allocations: 7.938 kB / 0.9547 GB, free: 7.477 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.15e-05/0.009294, allocations: 3.984 kB / 0.9547 GB, free: 7.473 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.241e-06/0.0093, allocations: 4 kB / 0.9547 GB, free: 7.469 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.735e-05/0.009347, allocations: 87.16 kB / 0.9548 GB, free: 7.383 MB / 0.8575 GB Notification: Performance of sort global known variables: time 7e-08/0.009347, allocations: 0 / 0.9548 GB, free: 7.383 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002183/0.009566, allocations: 7.953 kB / 0.9548 GB, free: 7.375 MB / 0.8575 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 (2): * Single equations (assignments): 2 * 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 0.0001539/0.00972, allocations: 101.8 kB / 0.9549 GB, free: 7.27 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002261/0.009946, allocations: 35.95 kB / 0.9549 GB, free: 7.234 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.009947, allocations: 0 / 0.9549 GB, free: 7.234 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 8.855e-05/0.01004, allocations: 19.98 kB / 0.955 GB, free: 7.215 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003167/0.01035, allocations: 4 kB / 0.955 GB, free: 7.211 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003766/0.01073, allocations: 113 kB / 0.9551 GB, free: 7.074 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.663e-05/0.0108, allocations: 59.34 kB / 0.9551 GB, free: 6.996 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 2.133e-05/0.01082, allocations: 0 / 0.9551 GB, free: 6.996 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.849e-05/0.01086, allocations: 12.5 kB / 0.9551 GB, free: 6.98 MB / 0.8575 GB Notification: Performance of SimCode: time 5.51e-07/0.01086, allocations: 0 / 0.9551 GB, free: 6.98 MB / 0.8575 GB Notification: Performance of Templates: time 0.003054/0.01391, allocations: 466.6 kB / 0.9556 GB, free: 6.531 MB / 0.8575 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Sin -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Sin_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_Sin.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.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: 8.354883089661598]