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.00126/0.00126, allocations: 81.08 kB / 19.87 MB, free: 4.621 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.00136/0.00136, allocations: 169 kB / 23.27 MB, free: 1.223 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.9736/0.9736, allocations: 177.1 MB / 203.7 MB, free: 5.5 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.268/2.268, allocations: 438.1 MB / 0.682 GB, free: 14.16 MB / 0.6511 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.836e-06/2.836e-06, allocations: 3.938 kB / 0.8898 GB, free: 9.742 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.484e-05/2.767e-05, allocations: 2.312 kB / 0.8898 GB, free: 9.738 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin): time 0.001578/0.001605, allocations: 0.6339 MB / 0.8904 GB, free: 9.109 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.007067/0.008672, allocations: 0.8625 MB / 0.8912 GB, free: 8.234 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.215e-05/0.008714, allocations: 0 / 0.8912 GB, free: 8.234 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 3.291e-05/0.008747, allocations: 3.938 kB / 0.8913 GB, free: 8.23 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 5.918e-05/0.008806, allocations: 0 / 0.8913 GB, free: 8.23 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001776/0.008984, allocations: 7.984 kB / 0.8913 GB, free: 8.223 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 6.049e-05/0.009045, allocations: 23.88 kB / 0.8913 GB, free: 8.199 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 4.131e-05/0.009086, allocations: 0 / 0.8913 GB, free: 8.199 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001615/0.009247, allocations: 35.84 kB / 0.8913 GB, free: 8.164 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 4.565e-05/0.009293, allocations: 3.984 kB / 0.8913 GB, free: 8.16 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 1.372e-05/0.009307, allocations: 4 kB / 0.8913 GB, free: 8.156 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 4.411e-05/0.009351, allocations: 0 / 0.8913 GB, free: 8.156 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 1.102e-05/0.009362, allocations: 7.938 kB / 0.8913 GB, free: 8.148 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 1.37e-05/0.009376, allocations: 4 kB / 0.8913 GB, free: 8.145 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0001012/0.009477, allocations: 15.98 kB / 0.8914 GB, free: 8.129 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.00948, allocations: 0 / 0.8914 GB, free: 8.129 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.483e-06/0.009482, allocations: 0 / 0.8914 GB, free: 8.129 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 3.927e-06/0.009485, allocations: 0 / 0.8914 GB, free: 8.129 MB / 0.8542 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.0003493/0.009835, allocations: 360.6 kB / 0.8917 GB, free: 7.738 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.514e-05/0.00988, allocations: 8.625 kB / 0.8917 GB, free: 7.73 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001168/0.009997, allocations: 16.88 kB / 0.8917 GB, free: 7.715 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.097e-05/0.01008, allocations: 116.6 kB / 0.8918 GB, free: 7.574 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.776e-06/0.01009, allocations: 384 / 0.8918 GB, free: 7.574 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.949e-06/0.01009, allocations: 384 / 0.8918 GB, free: 7.574 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.313e-05/0.01017, allocations: 54.89 kB / 0.8919 GB, free: 7.512 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.122e-06/0.01018, allocations: 192 / 0.8919 GB, free: 7.512 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.56e-06/0.01019, allocations: 384 / 0.8919 GB, free: 7.512 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.511e-06/0.01019, allocations: 384 / 0.8919 GB, free: 7.512 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.163e-05/0.0102, allocations: 7.938 kB / 0.8919 GB, free: 7.504 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.842e-05/0.0103, allocations: 97.25 kB / 0.892 GB, free: 7.383 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 3.446e-05/0.01034, allocations: 31.03 kB / 0.892 GB, free: 7.34 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.19e-05/0.01035, allocations: 7.688 kB / 0.892 GB, free: 7.328 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.541e-05/0.01036, allocations: 0 / 0.892 GB, free: 7.328 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.273e-05/0.01039, allocations: 41.39 kB / 0.8921 GB, free: 7.277 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=1): time 5.61e-07/0.01039, allocations: 0 / 0.8921 GB, free: 7.277 MB / 0.8542 GB Notification: Performance of matching and sorting (n=1): time 0.0001033/0.01049, allocations: 29.7 kB / 0.8921 GB, free: 7.242 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.678e-05/0.01052, allocations: 55.41 kB / 0.8921 GB, free: 7.176 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002443/0.01296, allocations: 162 kB / 0.8923 GB, free: 7 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.687e-05/0.01298, allocations: 33.7 kB / 0.8923 GB, free: 6.961 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 4.421e-05/0.01302, allocations: 126.9 kB / 0.8924 GB, free: 6.832 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.83e-05/0.01305, allocations: 3.953 kB / 0.8925 GB, free: 6.828 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.815e-05/0.01309, allocations: 19.36 kB / 0.8925 GB, free: 6.801 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001351/0.01322, allocations: 0.4922 MB / 0.893 GB, free: 6.297 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.267e-05/0.01325, allocations: 0 / 0.893 GB, free: 6.297 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.461e-05/0.01326, allocations: 3.938 kB / 0.893 GB, free: 6.293 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.655e-05/0.0133, allocations: 11.69 kB / 0.893 GB, free: 6.277 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.0133, allocations: 0 / 0.893 GB, free: 6.277 MB / 0.8542 GB Notification: Performance of matching and sorting (n=1) (initialization): time 7.953e-05/0.01338, allocations: 41.75 kB / 0.893 GB, free: 6.23 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.674e-05/0.0134, allocations: 8 kB / 0.893 GB, free: 6.223 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.0134, allocations: 0 / 0.893 GB, free: 6.223 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.249e-05/0.01341, allocations: 0 / 0.893 GB, free: 6.223 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.999e-05/0.0135, allocations: 4 kB / 0.893 GB, free: 6.219 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.916e-06/0.01351, allocations: 0 / 0.893 GB, free: 6.219 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.388e-05/0.01353, allocations: 0 / 0.893 GB, free: 6.219 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.105e-06/0.01354, allocations: 3.938 kB / 0.893 GB, free: 6.215 MB / 0.8542 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 7.48e-05/0.01361, allocations: 152.6 kB / 0.8932 GB, free: 6.055 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.224e-05/0.01362, allocations: 7.938 kB / 0.8932 GB, free: 6.047 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.752e-05/0.01365, allocations: 11.17 kB / 0.8932 GB, free: 6.031 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.01365, allocations: 0 / 0.8932 GB, free: 6.031 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.793e-06/0.01366, allocations: 0 / 0.8932 GB, free: 6.031 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-06/0.01366, allocations: 0 / 0.8932 GB, free: 6.031 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.069e-05/0.01374, allocations: 97.2 kB / 0.8933 GB, free: 5.91 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.01374, allocations: 0 / 0.8933 GB, free: 5.91 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.338e-05/0.01379, allocations: 7.984 kB / 0.8933 GB, free: 5.902 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.474e-06/0.01379, allocations: 256 / 0.8933 GB, free: 5.902 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.468e-06/0.01379, allocations: 0 / 0.8933 GB, free: 5.902 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.816e-06/0.0138, allocations: 7.938 kB / 0.8933 GB, free: 5.895 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.664e-06/0.0138, allocations: 0 / 0.8933 GB, free: 5.895 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.817e-05/0.01389, allocations: 80.34 kB / 0.8934 GB, free: 5.793 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 1.134e-05/0.01391, allocations: 7.984 kB / 0.8934 GB, free: 5.785 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.516e-06/0.01391, allocations: 0 / 0.8934 GB, free: 5.785 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.649e-05/0.01394, allocations: 0 / 0.8934 GB, free: 5.785 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.297e-05/0.01396, allocations: 0 / 0.8934 GB, free: 5.785 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.687e-06/0.01397, allocations: 3.938 kB / 0.8934 GB, free: 5.781 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 4.733e-05/0.01402, allocations: 131.2 kB / 0.8935 GB, free: 5.652 MB / 0.8542 GB Notification: Performance of sort global known variables: time 9e-08/0.01402, allocations: 0 / 0.8935 GB, free: 5.652 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.000176/0.01419, allocations: 4 kB / 0.8935 GB, free: 5.648 MB / 0.8542 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.0001224/0.01431, allocations: 95.28 kB / 0.8936 GB, free: 5.543 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 8.016e-05/0.01439, allocations: 15.69 kB / 0.8936 GB, free: 5.523 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.0144, allocations: 0 / 0.8936 GB, free: 5.523 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 1.904e-05/0.01441, allocations: 11.69 kB / 0.8936 GB, free: 5.508 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000143/0.01456, allocations: 7.938 kB / 0.8936 GB, free: 5.5 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004534/0.01501, allocations: 122.3 kB / 0.8938 GB, free: 5.352 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.045e-05/0.01504, allocations: 51.48 kB / 0.8938 GB, free: 5.281 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 2.336e-05/0.01507, allocations: 7.984 kB / 0.8938 GB, free: 5.273 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.371e-05/0.01511, allocations: 66.2 kB / 0.8939 GB, free: 5.207 MB / 0.8542 GB Notification: Performance of SimCode: time 6.32e-07/0.01511, allocations: 0 / 0.8939 GB, free: 5.207 MB / 0.8542 GB Notification: Performance of Templates: time 0.002149/0.01726, allocations: 322.6 kB / 0.8942 GB, free: 4.891 MB / 0.8542 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.192796661984175]