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.001025/0.001025, allocations: 73.97 kB / 20.66 MB, free: 3.844 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.001223/0.001223, allocations: 173 kB / 24.06 MB, free: 452 kB / 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.9776/0.9776, allocations: 177.1 MB / 204.5 MB, free: 5.496 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.091/2.091, allocations: 429.5 MB / 0.6743 GB, free: 3.914 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 2.554e-06/2.554e-06, allocations: 0 / 0.8794 GB, free: 6 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.116e-05/2.371e-05, allocations: 2.312 kB / 0.8794 GB, free: 5.996 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin): time 0.001381/0.001405, allocations: 0.6315 MB / 0.8801 GB, free: 5.387 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0008818/0.002287, allocations: 0.8618 MB / 0.8809 GB, free: 4.516 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.204e-05/0.002319, allocations: 0.6562 kB / 0.8809 GB, free: 4.516 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 2.765e-05/0.002346, allocations: 3.938 kB / 0.8809 GB, free: 4.512 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 6.05e-05/0.002407, allocations: 6.953 kB / 0.8809 GB, free: 4.508 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001634/0.00257, allocations: 4.656 kB / 0.8809 GB, free: 4.504 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 6.584e-05/0.002636, allocations: 32.11 kB / 0.8809 GB, free: 4.477 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 4.016e-05/0.002676, allocations: 4 kB / 0.8809 GB, free: 4.473 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001303/0.002806, allocations: 23.61 kB / 0.881 GB, free: 4.453 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 4.333e-05/0.00285, allocations: 3.984 kB / 0.881 GB, free: 4.449 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.3e-05/0.002863, allocations: 4 kB / 0.881 GB, free: 4.445 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 3.813e-05/0.002901, allocations: 4 kB / 0.881 GB, free: 4.441 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.035e-05/0.002911, allocations: 7.938 kB / 0.881 GB, free: 4.434 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 1.243e-05/0.002924, allocations: 0 / 0.881 GB, free: 4.434 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 9.074e-05/0.003014, allocations: 19.97 kB / 0.881 GB, free: 4.414 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 3.788e-06/0.003018, allocations: 0 / 0.881 GB, free: 4.414 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.012e-06/0.003019, allocations: 0 / 0.881 GB, free: 4.414 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.308e-06/0.003024, allocations: 1.781 kB / 0.881 GB, free: 4.414 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.0002859/0.003309, allocations: 356.6 kB / 0.8813 GB, free: 4.027 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.298e-05/0.003342, allocations: 8.031 kB / 0.8814 GB, free: 4.02 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001023/0.003445, allocations: 12.92 kB / 0.8814 GB, free: 4.008 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.036e-05/0.003525, allocations: 113.6 kB / 0.8815 GB, free: 3.871 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.011e-05/0.003535, allocations: 4.312 kB / 0.8815 GB, free: 3.867 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.029e-06/0.00354, allocations: 384 / 0.8815 GB, free: 3.867 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.368e-05/0.003614, allocations: 48.08 kB / 0.8815 GB, free: 3.812 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.292e-06/0.00362, allocations: 192 / 0.8815 GB, free: 3.812 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.352e-06/0.003627, allocations: 384 / 0.8815 GB, free: 3.812 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.003631, allocations: 1.406 kB / 0.8815 GB, free: 3.812 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.119e-05/0.003643, allocations: 3.938 kB / 0.8815 GB, free: 3.809 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.066e-05/0.003733, allocations: 98.84 kB / 0.8816 GB, free: 3.688 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 3.662e-05/0.00377, allocations: 31.03 kB / 0.8817 GB, free: 3.645 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.272e-05/0.003783, allocations: 15.62 kB / 0.8817 GB, free: 3.625 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.232e-05/0.003795, allocations: 3.984 kB / 0.8817 GB, free: 3.621 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.952e-05/0.003814, allocations: 39.84 kB / 0.8817 GB, free: 3.574 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=1): time 7.52e-07/0.003815, allocations: 0 / 0.8817 GB, free: 3.574 MB / 0.8386 GB Notification: Performance of matching and sorting (n=1): time 9.421e-05/0.003909, allocations: 33.77 kB / 0.8817 GB, free: 3.535 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.675e-05/0.003936, allocations: 51.41 kB / 0.8818 GB, free: 3.473 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.216e-05/0.003998, allocations: 157.9 kB / 0.8819 GB, free: 3.301 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 9.328e-06/0.004008, allocations: 25.7 kB / 0.882 GB, free: 3.27 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 3.615e-05/0.004044, allocations: 136.9 kB / 0.8821 GB, free: 3.133 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.107e-05/0.004065, allocations: 3.953 kB / 0.8821 GB, free: 3.129 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.377e-05/0.004089, allocations: 23.31 kB / 0.8821 GB, free: 3.098 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001193/0.004208, allocations: 0.4922 MB / 0.8826 GB, free: 2.594 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.909e-06/0.004218, allocations: 0 / 0.8826 GB, free: 2.594 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.284e-06/0.004225, allocations: 0.7188 kB / 0.8826 GB, free: 2.594 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.395e-05/0.004249, allocations: 13.34 kB / 0.8826 GB, free: 2.578 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.004251, allocations: 0 / 0.8826 GB, free: 2.578 MB / 0.8386 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.71e-05/0.004298, allocations: 29.7 kB / 0.8826 GB, free: 2.543 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.28e-05/0.00431, allocations: 8 kB / 0.8827 GB, free: 2.535 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.747e-06/0.004314, allocations: 1.188 kB / 0.8827 GB, free: 2.535 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.404e-06/0.004322, allocations: 0 / 0.8827 GB, free: 2.535 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.363e-05/0.004375, allocations: 3.984 kB / 0.8827 GB, free: 2.531 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.526e-06/0.004379, allocations: 12.16 kB / 0.8827 GB, free: 2.52 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.273e-05/0.004391, allocations: 256 / 0.8827 GB, free: 2.52 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.883e-06/0.004398, allocations: 7.938 kB / 0.8827 GB, free: 2.512 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 6.278e-05/0.004461, allocations: 152.6 kB / 0.8828 GB, free: 2.352 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.791e-06/0.004467, allocations: 4 kB / 0.8828 GB, free: 2.348 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.865e-05/0.004486, allocations: 7.156 kB / 0.8828 GB, free: 2.34 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.192e-06/0.004487, allocations: 0 / 0.8828 GB, free: 2.34 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.603e-06/0.004488, allocations: 0 / 0.8828 GB, free: 2.34 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.486e-06/0.004492, allocations: 3.984 kB / 0.8828 GB, free: 2.336 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.213e-05/0.004554, allocations: 101.2 kB / 0.8829 GB, free: 2.211 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.004555, allocations: 0 / 0.8829 GB, free: 2.211 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.969e-05/0.004575, allocations: 8 kB / 0.8829 GB, free: 2.203 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.62e-07/0.004576, allocations: 0 / 0.8829 GB, free: 2.203 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.366e-06/0.004579, allocations: 0 / 0.8829 GB, free: 2.203 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.91e-07/0.00458, allocations: 0 / 0.8829 GB, free: 2.203 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.004582, allocations: 7.922 kB / 0.883 GB, free: 2.195 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.442e-05/0.004646, allocations: 72.33 kB / 0.883 GB, free: 2.102 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 6.592e-06/0.004653, allocations: 3.953 kB / 0.883 GB, free: 2.098 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.393e-06/0.00466, allocations: 4 kB / 0.883 GB, free: 2.094 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.999e-06/0.00467, allocations: 3.984 kB / 0.883 GB, free: 2.09 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.029e-05/0.004691, allocations: 0 / 0.883 GB, free: 2.09 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.763e-06/0.004692, allocations: 4.031 kB / 0.883 GB, free: 2.086 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 3.526e-05/0.004728, allocations: 127.2 kB / 0.8832 GB, free: 1.961 MB / 0.8386 GB Notification: Performance of sort global known variables: time 5e-08/0.004728, allocations: 0 / 0.8832 GB, free: 1.961 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001116/0.004839, allocations: 4 kB / 0.8832 GB, free: 1.957 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 9.339e-05/0.004933, allocations: 95.23 kB / 0.8833 GB, free: 1.855 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 6.136e-05/0.004994, allocations: 11.69 kB / 0.8833 GB, free: 1.84 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.193e-06/0.004995, allocations: 0 / 0.8833 GB, free: 1.84 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 1.32e-05/0.005008, allocations: 11.69 kB / 0.8833 GB, free: 1.824 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001029/0.005111, allocations: 11.94 kB / 0.8833 GB, free: 1.816 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000339/0.00545, allocations: 122.4 kB / 0.8834 GB, free: 1.668 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.708e-05/0.005477, allocations: 59.34 kB / 0.8835 GB, free: 1.59 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 1.62e-05/0.005494, allocations: 0 / 0.8835 GB, free: 1.59 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.487e-05/0.005529, allocations: 66.2 kB / 0.8835 GB, free: 1.523 MB / 0.8386 GB Notification: Performance of SimCode: time 6.01e-07/0.005529, allocations: 0 / 0.8835 GB, free: 1.523 MB / 0.8386 GB Notification: Performance of Templates: time 0.001705/0.007234, allocations: 332.4 kB / 0.8838 GB, free: 1.199 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.427349742036313]