Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001418/0.001418, 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.001678/0.001678, allocations: 169.4 kB / 24.06 MB, free: 456 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 1/1, allocations: 177.1 MB / 204.5 MB, free: 5.508 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.1/2.1, allocations: 429.5 MB / 0.6743 GB, free: 3.879 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.Validation.Sin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sin1.u|sin1.y",fileNamePrefix="Buildings_latest_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_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sin") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.823e-06/1.823e-06, allocations: 0 / 0.8795 GB, free: 5.945 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.43e-05/2.612e-05, allocations: 3.156 kB / 0.8795 GB, free: 5.941 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Sin): time 0.001823/0.001849, allocations: 0.692 MB / 0.8801 GB, free: 5.277 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0007577/0.002606, allocations: 0.8666 MB / 0.881 GB, free: 4.402 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.946e-05/0.002636, allocations: 0 / 0.881 GB, free: 4.402 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 2.471e-05/0.002661, allocations: 3.938 kB / 0.881 GB, free: 4.398 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 5.733e-05/0.002718, allocations: 1.75 kB / 0.881 GB, free: 4.398 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001447/0.002863, allocations: 16.33 kB / 0.881 GB, free: 4.387 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 5.991e-05/0.002922, allocations: 28.12 kB / 0.881 GB, free: 4.359 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 7.427e-05/0.002997, allocations: 4 kB / 0.881 GB, free: 4.355 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 6.263e-05/0.003059, allocations: 19.86 kB / 0.8811 GB, free: 4.336 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 2.925e-05/0.003089, allocations: 4 kB / 0.8811 GB, free: 4.332 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.181e-05/0.0031, allocations: 4 kB / 0.8811 GB, free: 4.328 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 4.23e-05/0.003143, allocations: 15.92 kB / 0.8811 GB, free: 4.312 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.361e-05/0.003156, allocations: 0 / 0.8811 GB, free: 4.312 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 1.365e-05/0.00317, allocations: 4 kB / 0.8811 GB, free: 4.309 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 7.761e-05/0.003248, allocations: 24.88 kB / 0.8811 GB, free: 4.285 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.585e-06/0.00325, allocations: 0 / 0.8811 GB, free: 4.285 MB / 0.8386 GB Notification: Performance of FrontEnd: time 9.11e-07/0.003251, allocations: 0 / 0.8811 GB, free: 4.285 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.948e-06/0.003255, allocations: 0.75 kB / 0.8811 GB, free: 4.285 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0002852/0.00354, allocations: 365.1 kB / 0.8815 GB, free: 3.891 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.18e-05/0.003572, allocations: 12.03 kB / 0.8815 GB, free: 3.879 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.472e-05/0.003647, allocations: 4.375 kB / 0.8815 GB, free: 3.879 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.203e-05/0.003719, allocations: 112.6 kB / 0.8816 GB, free: 3.742 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.556e-06/0.003727, allocations: 384 / 0.8816 GB, free: 3.742 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.909e-06/0.003732, allocations: 384 / 0.8816 GB, free: 3.742 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.096e-05/0.003823, allocations: 62.88 kB / 0.8816 GB, free: 3.672 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.312e-06/0.00383, allocations: 192 / 0.8816 GB, free: 3.672 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.931e-06/0.003836, allocations: 384 / 0.8816 GB, free: 3.672 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/0.003841, allocations: 4.375 kB / 0.8816 GB, free: 3.668 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.763e-05/0.003858, allocations: 3.938 kB / 0.8816 GB, free: 3.664 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001974/0.004056, allocations: 229 kB / 0.8819 GB, free: 3.414 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 4.008e-05/0.004096, allocations: 27.66 kB / 0.8819 GB, free: 3.375 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.434e-05/0.00411, allocations: 16.66 kB / 0.8819 GB, free: 3.355 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.234e-05/0.004123, allocations: 3.938 kB / 0.8819 GB, free: 3.352 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.691e-05/0.004139, allocations: 33.39 kB / 0.8819 GB, free: 3.309 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 9.72e-07/0.00414, allocations: 0.7812 kB / 0.8819 GB, free: 3.309 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2): time 0.0001044/0.004245, allocations: 43.17 kB / 0.882 GB, free: 3.262 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.886e-05/0.004274, allocations: 55.41 kB / 0.882 GB, free: 3.195 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.383e-05/0.004338, allocations: 165.9 kB / 0.8822 GB, free: 3.016 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 8.926e-06/0.004346, allocations: 29.64 kB / 0.8822 GB, free: 2.98 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 3.739e-05/0.004384, allocations: 131 kB / 0.8823 GB, free: 2.848 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.405e-05/0.004398, allocations: 3.953 kB / 0.8824 GB, free: 2.844 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.465e-05/0.004423, allocations: 19.38 kB / 0.8824 GB, free: 2.816 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001072/0.00453, allocations: 0.4923 MB / 0.8828 GB, free: 2.312 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.034e-05/0.00454, allocations: 4 kB / 0.8829 GB, free: 2.309 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.735e-06/0.004548, allocations: 3.938 kB / 0.8829 GB, free: 2.305 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.181e-05/0.00457, allocations: 11.69 kB / 0.8829 GB, free: 2.289 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.004571, allocations: 0 / 0.8829 GB, free: 2.289 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.717e-05/0.004618, allocations: 37.66 kB / 0.8829 GB, free: 2.246 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.038e-05/0.004629, allocations: 8.094 kB / 0.8829 GB, free: 2.238 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.637e-06/0.004632, allocations: 0 / 0.8829 GB, free: 2.238 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.928e-06/0.004642, allocations: 11.92 kB / 0.8829 GB, free: 2.227 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.186e-05/0.004694, allocations: 4 kB / 0.8829 GB, free: 2.223 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.475e-06/0.004697, allocations: 0 / 0.8829 GB, free: 2.223 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.675e-05/0.004713, allocations: 3.938 kB / 0.8829 GB, free: 2.219 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.136e-06/0.004716, allocations: 4 kB / 0.8829 GB, free: 2.215 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 (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 5.579e-05/0.004772, allocations: 160.5 kB / 0.8831 GB, free: 2.047 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.437e-05/0.004787, allocations: 0 / 0.8831 GB, free: 2.047 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.463e-05/0.004851, allocations: 41 kB / 0.8831 GB, free: 2 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.004853, allocations: 7.969 kB / 0.8831 GB, free: 1.992 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.465e-06/0.004856, allocations: 3.984 kB / 0.8831 GB, free: 1.988 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.923e-06/0.004858, allocations: 0 / 0.8831 GB, free: 1.988 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.329e-05/0.004941, allocations: 101.3 kB / 0.8832 GB, free: 1.863 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.41e-07/0.004942, allocations: 0 / 0.8832 GB, free: 1.863 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.004e-05/0.004962, allocations: 8 kB / 0.8832 GB, free: 1.855 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.865e-06/0.004965, allocations: 3.984 kB / 0.8832 GB, free: 1.852 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.457e-06/0.004968, allocations: 0 / 0.8832 GB, free: 1.852 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.41e-07/0.004969, allocations: 0 / 0.8832 GB, free: 1.852 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.00497, allocations: 0 / 0.8832 GB, free: 1.852 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.942e-05/0.005049, allocations: 191.9 kB / 0.8834 GB, free: 1.645 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 5.891e-06/0.005055, allocations: 3.953 kB / 0.8834 GB, free: 1.641 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.735e-06/0.005063, allocations: 3.984 kB / 0.8834 GB, free: 1.637 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.273e-05/0.005095, allocations: 8 kB / 0.8834 GB, free: 1.629 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.307e-05/0.005118, allocations: 0 / 0.8834 GB, free: 1.629 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.036e-06/0.005121, allocations: 3.938 kB / 0.8834 GB, free: 1.625 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 3.447e-05/0.005156, allocations: 135.1 kB / 0.8836 GB, free: 1.492 MB / 0.8386 GB Notification: Performance of sort global known variables: time 5e-08/0.005156, allocations: 0 / 0.8836 GB, free: 1.492 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001635/0.005319, allocations: 4 kB / 0.8836 GB, free: 1.488 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 (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 7.978e-05/0.005399, allocations: 95.28 kB / 0.8837 GB, free: 1.387 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 5.856e-05/0.005458, allocations: 19.62 kB / 0.8837 GB, free: 1.363 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.283e-06/0.005459, allocations: 0 / 0.8837 GB, free: 1.363 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 1.345e-05/0.005473, allocations: 7.688 kB / 0.8837 GB, free: 1.352 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001744/0.005647, allocations: 11.98 kB / 0.8837 GB, free: 1.34 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003253/0.005972, allocations: 110.5 kB / 0.8838 GB, free: 1.203 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.158e-05/0.006004, allocations: 59.42 kB / 0.8839 GB, free: 1.125 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 1.758e-05/0.006021, allocations: 7.984 kB / 0.8839 GB, free: 1.117 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.122e-05/0.006063, allocations: 66.2 kB / 0.8839 GB, free: 1.051 MB / 0.8386 GB Notification: Performance of SimCode: time 5.01e-07/0.006063, allocations: 0 / 0.8839 GB, free: 1.051 MB / 0.8386 GB Notification: Performance of Templates: time 0.00187/0.007933, allocations: 0.521 MB / 0.8845 GB, free: 0.5391 MB / 0.8386 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sin -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sin_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_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.3129938850179315]