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.0009516/0.0009516, allocations: 92.22 kB / 19.65 MB, free: 276 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.001014/0.001014, allocations: 169 kB / 23.02 MB, free: 1.547 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.9886/0.9886, allocations: 177.1 MB / 203.4 MB, free: 5.637 MB / 186.7 MB " [Timeout remaining time 179] 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 2.124/2.124, allocations: 429.5 MB / 0.6732 GB, free: 4.027 MB / 0.6355 GB " [Timeout remaining time 177] 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 1.362e-06/1.362e-06, allocations: 0 / 0.8782 GB, free: 6.246 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.755e-05/1.892e-05, allocations: 3.078 kB / 0.8782 GB, free: 6.242 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin): time 0.001158/0.001177, allocations: 0.6291 MB / 0.8788 GB, free: 5.629 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001028/0.002205, allocations: 0.8618 MB / 0.8797 GB, free: 4.758 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.711e-05/0.002232, allocations: 0.7656 kB / 0.8797 GB, free: 4.758 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 2.683e-05/0.002259, allocations: 0 / 0.8797 GB, free: 4.758 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 5.742e-05/0.002316, allocations: 2.516 kB / 0.8797 GB, free: 4.758 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001887/0.002505, allocations: 16.42 kB / 0.8797 GB, free: 4.742 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 6.597e-05/0.002571, allocations: 26.23 kB / 0.8797 GB, free: 4.723 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 3.892e-05/0.00261, allocations: 3.984 kB / 0.8797 GB, free: 4.719 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001423/0.002752, allocations: 15.94 kB / 0.8797 GB, free: 4.703 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 4.944e-05/0.002801, allocations: 11.98 kB / 0.8798 GB, free: 4.691 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.377e-05/0.002815, allocations: 0 / 0.8798 GB, free: 4.691 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 4.116e-05/0.002856, allocations: 5.344 kB / 0.8798 GB, free: 4.688 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 8.897e-06/0.002865, allocations: 0 / 0.8798 GB, free: 4.688 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 1.79e-05/0.002883, allocations: 7.938 kB / 0.8798 GB, free: 4.68 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 9.868e-05/0.002982, allocations: 19.91 kB / 0.8798 GB, free: 4.66 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 1.984e-06/0.002984, allocations: 1.312 kB / 0.8798 GB, free: 4.66 MB / 0.8386 GB Notification: Performance of FrontEnd: time 7.01e-07/0.002984, allocations: 0 / 0.8798 GB, free: 4.66 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.749e-06/0.002989, allocations: 4 kB / 0.8798 GB, free: 4.656 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.0003368/0.003326, allocations: 358.2 kB / 0.8801 GB, free: 4.27 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.431e-05/0.00336, allocations: 8.031 kB / 0.8801 GB, free: 4.262 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001073/0.003468, allocations: 12.92 kB / 0.8801 GB, free: 4.25 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.695e-05/0.003544, allocations: 108.6 kB / 0.8803 GB, free: 4.117 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.037e-05/0.003555, allocations: 6.688 kB / 0.8803 GB, free: 4.113 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.08e-05/0.003566, allocations: 4.375 kB / 0.8803 GB, free: 4.109 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.02e-05/0.003656, allocations: 46.95 kB / 0.8803 GB, free: 4.055 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.778e-06/0.003666, allocations: 192 / 0.8803 GB, free: 4.055 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.015e-06/0.003674, allocations: 384 / 0.8803 GB, free: 4.055 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.835e-06/0.003681, allocations: 384 / 0.8803 GB, free: 4.055 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.57e-05/0.003697, allocations: 6.156 kB / 0.8803 GB, free: 4.051 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00011/0.003807, allocations: 116.6 kB / 0.8804 GB, free: 3.902 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 3.699e-05/0.003844, allocations: 31.09 kB / 0.8805 GB, free: 3.859 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.751e-05/0.003862, allocations: 7.688 kB / 0.8805 GB, free: 3.848 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.488e-05/0.003877, allocations: 0 / 0.8805 GB, free: 3.848 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.869e-05/0.003895, allocations: 34.11 kB / 0.8805 GB, free: 3.805 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=1): time 8.12e-07/0.003896, allocations: 0 / 0.8805 GB, free: 3.805 MB / 0.8386 GB Notification: Performance of matching and sorting (n=1): time 0.0001328/0.004029, allocations: 45.69 kB / 0.8805 GB, free: 3.754 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.617e-05/0.004055, allocations: 51.41 kB / 0.8806 GB, free: 3.691 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.205e-05/0.004127, allocations: 161.9 kB / 0.8807 GB, free: 3.516 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 7.995e-06/0.004135, allocations: 25.7 kB / 0.8808 GB, free: 3.484 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 3.81e-05/0.004173, allocations: 142.8 kB / 0.8809 GB, free: 3.34 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.417e-05/0.004197, allocations: 3.953 kB / 0.8809 GB, free: 3.336 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.335e-05/0.004221, allocations: 15.38 kB / 0.8809 GB, free: 3.312 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001075/0.004328, allocations: 496.1 kB / 0.8814 GB, free: 2.816 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.086e-05/0.004339, allocations: 0 / 0.8814 GB, free: 2.816 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.823e-06/0.004346, allocations: 0 / 0.8814 GB, free: 2.816 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.48e-05/0.004371, allocations: 20.12 kB / 0.8814 GB, free: 2.793 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.004372, allocations: 0 / 0.8814 GB, free: 2.793 MB / 0.8386 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.587e-05/0.004418, allocations: 41.62 kB / 0.8815 GB, free: 2.746 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.044e-05/0.004429, allocations: 8 kB / 0.8815 GB, free: 2.738 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.007e-06/0.004433, allocations: 0 / 0.8815 GB, free: 2.738 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.552e-05/0.004448, allocations: 0 / 0.8815 GB, free: 2.738 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.615e-05/0.004504, allocations: 4 kB / 0.8815 GB, free: 2.734 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.288e-06/0.004509, allocations: 0 / 0.8815 GB, free: 2.734 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.552e-05/0.004524, allocations: 7.922 kB / 0.8815 GB, free: 2.727 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.26e-06/0.004529, allocations: 32 / 0.8815 GB, free: 2.727 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 5.917e-05/0.004589, allocations: 160.6 kB / 0.8816 GB, free: 2.559 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.711e-06/0.004594, allocations: 3.984 kB / 0.8816 GB, free: 2.555 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.326e-05/0.004618, allocations: 3.156 kB / 0.8816 GB, free: 2.551 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.004619, allocations: 0 / 0.8816 GB, free: 2.551 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.487e-06/0.004623, allocations: 0 / 0.8816 GB, free: 2.551 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.004626, allocations: 7.938 kB / 0.8816 GB, free: 2.543 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.763e-05/0.004684, allocations: 112.6 kB / 0.8817 GB, free: 2.398 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.81e-07/0.004684, allocations: 0 / 0.8817 GB, free: 2.398 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.174e-05/0.004696, allocations: 4 kB / 0.8818 GB, free: 2.395 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.12e-07/0.004697, allocations: 0 / 0.8818 GB, free: 2.395 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.132e-06/0.004703, allocations: 4 kB / 0.8818 GB, free: 2.391 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.22e-07/0.004704, allocations: 0 / 0.8818 GB, free: 2.391 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.004705, allocations: 4 kB / 0.8818 GB, free: 2.387 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.11e-05/0.004767, allocations: 76.31 kB / 0.8818 GB, free: 2.289 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 7.144e-06/0.004774, allocations: 7.953 kB / 0.8818 GB, free: 2.281 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.177e-06/0.004783, allocations: 0 / 0.8818 GB, free: 2.281 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.596e-06/0.004791, allocations: 0 / 0.8818 GB, free: 2.281 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.35e-05/0.004825, allocations: 7.984 kB / 0.8818 GB, free: 2.273 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.774e-06/0.004827, allocations: 0 / 0.8818 GB, free: 2.273 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 3.827e-05/0.004865, allocations: 123.2 kB / 0.882 GB, free: 2.152 MB / 0.8386 GB Notification: Performance of sort global known variables: time 6e-08/0.004865, allocations: 7.969 kB / 0.882 GB, free: 2.145 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001178/0.004983, allocations: 3.938 kB / 0.882 GB, free: 2.141 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 7.283e-05/0.005056, allocations: 95.25 kB / 0.8821 GB, free: 2.039 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 8.66e-05/0.005142, allocations: 23.61 kB / 0.8821 GB, free: 2.012 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.183e-06/0.005143, allocations: 0 / 0.8821 GB, free: 2.012 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 1.396e-05/0.005157, allocations: 7.688 kB / 0.8821 GB, free: 2 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001106/0.005268, allocations: 4 kB / 0.8821 GB, free: 1.996 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004179/0.005686, allocations: 122.6 kB / 0.8822 GB, free: 1.848 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.304e-05/0.005719, allocations: 55.34 kB / 0.8823 GB, free: 1.773 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 1.488e-05/0.005734, allocations: 4 kB / 0.8823 GB, free: 1.77 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.48e-05/0.005759, allocations: 8.5 kB / 0.8823 GB, free: 1.762 MB / 0.8386 GB Notification: Performance of SimCode: time 5.31e-07/0.005759, allocations: 0 / 0.8823 GB, free: 1.762 MB / 0.8386 GB Notification: Performance of Templates: time 0.001682/0.007442, allocations: 310.1 kB / 0.8826 GB, free: 1.469 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.61133061721921]