Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001885/0.001885, allocations: 89.47 kB / 19.44 MB, free: 344 kB / 13.93 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.002196/0.002196, allocations: 173.2 kB / 22.76 MB, free: 1.664 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 1.54/1.54, allocations: 177.1 MB / 203.1 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.414/3.414, allocations: 429.4 MB / 0.6729 GB, free: 4.02 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.394e-06/2.394e-06, allocations: 0 / 0.8775 GB, free: 6.629 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.797e-05/4.037e-05, allocations: 5.422 kB / 0.8775 GB, free: 6.625 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin): time 0.002026/0.002066, allocations: 0.6178 MB / 0.8781 GB, free: 6.027 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001621/0.003687, allocations: 0.8493 MB / 0.8789 GB, free: 5.168 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.084e-05/0.003718, allocations: 2.188 kB / 0.8789 GB, free: 5.168 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 2.014e-05/0.003738, allocations: 0 / 0.8789 GB, free: 5.168 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 6.166e-05/0.0038, allocations: 6.625 kB / 0.8789 GB, free: 5.164 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001765/0.003976, allocations: 11.92 kB / 0.8789 GB, free: 5.152 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 8.537e-05/0.004061, allocations: 20.09 kB / 0.879 GB, free: 5.133 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 4.888e-05/0.00411, allocations: 4.969 kB / 0.879 GB, free: 5.129 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001984/0.004309, allocations: 19.97 kB / 0.879 GB, free: 5.109 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 5.751e-05/0.004366, allocations: 3.984 kB / 0.879 GB, free: 5.105 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.886e-05/0.004385, allocations: 5.094 kB / 0.879 GB, free: 5.102 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 4.186e-05/0.004427, allocations: 7.938 kB / 0.879 GB, free: 5.094 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.533e-05/0.004442, allocations: 4 kB / 0.879 GB, free: 5.09 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.123e-05/0.004464, allocations: 5.531 kB / 0.879 GB, free: 5.086 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.000118/0.004582, allocations: 23.95 kB / 0.879 GB, free: 5.062 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.585e-06/0.004584, allocations: 0 / 0.879 GB, free: 5.062 MB / 0.8386 GB Notification: Performance of FrontEnd: time 8.52e-07/0.004585, allocations: 0 / 0.879 GB, free: 5.062 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.498e-06/0.004589, allocations: 2.125 kB / 0.879 GB, free: 5.062 MB / 0.8386 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.000527/0.005117, allocations: 356.2 kB / 0.8794 GB, free: 4.676 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.516e-05/0.005162, allocations: 12.03 kB / 0.8794 GB, free: 4.664 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001646/0.005326, allocations: 8.922 kB / 0.8794 GB, free: 4.656 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001366/0.005463, allocations: 120.5 kB / 0.8795 GB, free: 4.512 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.294e-05/0.005476, allocations: 2.781 kB / 0.8795 GB, free: 4.512 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.243e-06/0.005483, allocations: 384 / 0.8795 GB, free: 4.512 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001248/0.005608, allocations: 38.25 kB / 0.8796 GB, free: 4.469 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.042e-05/0.005618, allocations: 192 / 0.8796 GB, free: 4.469 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.478e-06/0.005628, allocations: 4.375 kB / 0.8796 GB, free: 4.465 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.005632, allocations: 384 / 0.8796 GB, free: 4.465 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.87e-05/0.005691, allocations: 8.656 kB / 0.8796 GB, free: 4.457 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001867/0.005877, allocations: 118.3 kB / 0.8797 GB, free: 4.309 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 8.916e-05/0.005967, allocations: 31.03 kB / 0.8797 GB, free: 4.266 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.44e-05/0.006021, allocations: 15.75 kB / 0.8797 GB, free: 4.246 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.85e-05/0.006039, allocations: 0 / 0.8797 GB, free: 4.246 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.702e-05/0.006076, allocations: 38.73 kB / 0.8798 GB, free: 4.199 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=1): time 8.82e-07/0.006077, allocations: 3.938 kB / 0.8798 GB, free: 4.195 MB / 0.8386 GB Notification: Performance of matching and sorting (n=1): time 0.0002322/0.00631, allocations: 49.72 kB / 0.8798 GB, free: 4.141 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.897e-05/0.006359, allocations: 59.42 kB / 0.8799 GB, free: 4.07 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000142/0.006501, allocations: 165.9 kB / 0.88 GB, free: 3.891 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.104e-05/0.006522, allocations: 25.7 kB / 0.8801 GB, free: 3.859 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 8.33e-05/0.006605, allocations: 134.9 kB / 0.8802 GB, free: 3.723 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.986e-05/0.006625, allocations: 0 / 0.8802 GB, free: 3.723 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.546e-05/0.00667, allocations: 19.36 kB / 0.8802 GB, free: 3.695 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.000282/0.006952, allocations: 0.4884 MB / 0.8807 GB, free: 3.195 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.76e-05/0.00699, allocations: 4 kB / 0.8807 GB, free: 3.191 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.075e-05/0.007011, allocations: 0 / 0.8807 GB, free: 3.191 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.941e-05/0.00708, allocations: 27.73 kB / 0.8807 GB, free: 3.16 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.007082, allocations: 0 / 0.8807 GB, free: 3.16 MB / 0.8386 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001093/0.007192, allocations: 49.58 kB / 0.8808 GB, free: 3.105 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.375e-05/0.007205, allocations: 4 kB / 0.8808 GB, free: 3.102 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.03e-06/0.00721, allocations: 0 / 0.8808 GB, free: 3.102 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.578e-05/0.007226, allocations: 4 kB / 0.8808 GB, free: 3.098 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.873e-05/0.007285, allocations: 0 / 0.8808 GB, free: 3.098 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.679e-06/0.00729, allocations: 0 / 0.8808 GB, free: 3.098 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.26e-05/0.007322, allocations: 7.938 kB / 0.8808 GB, free: 3.09 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.766e-06/0.007331, allocations: 3.984 kB / 0.8808 GB, free: 3.086 MB / 0.8386 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 0.0001148/0.007446, allocations: 160.6 kB / 0.8809 GB, free: 2.918 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.862e-05/0.007464, allocations: 7.984 kB / 0.8809 GB, free: 2.91 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.2e-05/0.007486, allocations: 3.156 kB / 0.8809 GB, free: 2.906 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-06/0.007488, allocations: 0 / 0.8809 GB, free: 2.906 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.776e-06/0.007491, allocations: 0 / 0.8809 GB, free: 2.906 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-06/0.007496, allocations: 3.938 kB / 0.8809 GB, free: 2.902 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001226/0.007619, allocations: 116.6 kB / 0.8811 GB, free: 2.754 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.00762, allocations: 0 / 0.8811 GB, free: 2.754 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.467e-05/0.007655, allocations: 4.25 kB / 0.8811 GB, free: 2.75 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.007657, allocations: 0 / 0.8811 GB, free: 2.75 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.122e-05/0.007668, allocations: 8 kB / 0.8811 GB, free: 2.742 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.00767, allocations: 0 / 0.8811 GB, free: 2.742 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.007671, allocations: 0 / 0.8811 GB, free: 2.742 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001677/0.007838, allocations: 88.31 kB / 0.8811 GB, free: 2.633 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 9.508e-06/0.007848, allocations: 3.953 kB / 0.8811 GB, free: 2.629 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.394e-05/0.007862, allocations: 7.922 kB / 0.8812 GB, free: 2.621 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.41e-05/0.007886, allocations: 0 / 0.8812 GB, free: 2.621 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.677e-05/0.007923, allocations: 4 kB / 0.8812 GB, free: 2.617 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.396e-06/0.007926, allocations: 0 / 0.8812 GB, free: 2.617 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 7.994e-05/0.008006, allocations: 127.2 kB / 0.8813 GB, free: 2.492 MB / 0.8386 GB Notification: Performance of sort global known variables: time 7e-08/0.008006, allocations: 4.031 kB / 0.8813 GB, free: 2.488 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001876/0.008194, allocations: 7.938 kB / 0.8813 GB, free: 2.48 MB / 0.8386 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 0.0001312/0.008325, allocations: 95.23 kB / 0.8814 GB, free: 2.379 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001274/0.008452, allocations: 19.69 kB / 0.8814 GB, free: 2.355 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.008454, allocations: 0 / 0.8814 GB, free: 2.355 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 4.576e-05/0.0085, allocations: 19.61 kB / 0.8814 GB, free: 2.332 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000142/0.008642, allocations: 4 kB / 0.8814 GB, free: 2.328 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003397/0.008981, allocations: 114.6 kB / 0.8815 GB, free: 2.188 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.716e-05/0.009048, allocations: 59.22 kB / 0.8816 GB, free: 2.109 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.871e-05/0.009077, allocations: 0 / 0.8816 GB, free: 2.109 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.252e-05/0.00911, allocations: 8.5 kB / 0.8816 GB, free: 2.102 MB / 0.8386 GB Notification: Performance of SimCode: time 6.41e-07/0.00911, allocations: 0 / 0.8816 GB, free: 2.102 MB / 0.8386 GB Notification: Performance of Templates: time 0.002973/0.01208, allocations: 307.9 kB / 0.8819 GB, free: 1.805 MB / 0.8386 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Sin.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 8.515907934051938]