Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Sin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin1.u|sin1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Sin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin1.u|sin1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008518/0.008518, allocations: 103.2 kB / 15.73 MB, free: 6.059 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001883/0.001884, allocations: 190.5 kB / 16.67 MB, free: 5.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.42/1.42, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.379/2.379, allocations: 390.2 MB / 0.6648 GB, free: 0.6172 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001248/0.001248, allocations: 71.89 kB / 0.9509 GB, free: 7.555 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9396/0.9409, allocations: 140.4 MB / 1.088 GB, free: 5.52 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Sin): time 0.001769/0.9427, allocations: 0.6677 MB / 1.089 GB, free: 5.098 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0008721/0.9436, allocations: 0.8047 MB / 1.089 GB, free: 4.488 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.364e-05/0.9436, allocations: 0 / 1.089 GB, free: 4.488 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.605e-05/0.9436, allocations: 5.797 kB / 1.089 GB, free: 4.484 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 5.358e-05/0.9437, allocations: 0 / 1.089 GB, free: 4.484 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.000144/0.9439, allocations: 11.44 kB / 1.089 GB, free: 4.48 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 7.755e-05/0.944, allocations: 31.64 kB / 1.089 GB, free: 4.461 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001071/0.9441, allocations: 8.547 kB / 1.089 GB, free: 4.457 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 5.945e-05/0.9441, allocations: 9.141 kB / 1.089 GB, free: 4.453 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 4.229e-05/0.9442, allocations: 13.72 kB / 1.089 GB, free: 4.445 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.442e-05/0.9442, allocations: 2.125 kB / 1.089 GB, free: 4.445 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 7.934e-06/0.9442, allocations: 1.156 kB / 1.089 GB, free: 4.445 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.629e-05/0.9442, allocations: 6.031 kB / 1.089 GB, free: 4.441 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.471e-05/0.9443, allocations: 7.422 kB / 1.09 GB, free: 4.438 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 8.197e-05/0.9443, allocations: 28.83 kB / 1.09 GB, free: 4.422 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.928e-06/0.9444, allocations: 0 / 1.09 GB, free: 4.422 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.934e-06/0.9444, allocations: 6.031 kB / 1.09 GB, free: 4.418 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.521e-06/0.9444, allocations: 0 / 1.09 GB, free: 4.418 MB / 0.8575 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.0003801/0.9448, allocations: 329 kB / 1.09 GB, free: 4.066 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.645e-05/0.9448, allocations: 8.219 kB / 1.09 GB, free: 4.066 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.093e-05/0.9448, allocations: 10.28 kB / 1.09 GB, free: 4.059 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.421e-05/0.9449, allocations: 167 kB / 1.09 GB, free: 3.863 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.188e-05/0.9449, allocations: 1.594 kB / 1.09 GB, free: 3.863 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.957e-06/0.945, allocations: 1.594 kB / 1.09 GB, free: 3.863 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001681/0.9451, allocations: 53.98 kB / 1.09 GB, free: 3.824 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.566e-06/0.9451, allocations: 192 / 1.09 GB, free: 3.824 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.987e-06/0.9452, allocations: 7.875 kB / 1.09 GB, free: 3.816 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/0.9452, allocations: 2 kB / 1.09 GB, free: 3.816 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001654/0.9453, allocations: 32.75 kB / 1.09 GB, free: 3.812 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002586/0.9456, allocations: 245.3 kB / 1.09 GB, free: 3.539 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001187/0.9457, allocations: 44.42 kB / 1.09 GB, free: 3.504 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.671e-05/0.9458, allocations: 19.23 kB / 1.09 GB, free: 3.496 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.657e-05/0.9458, allocations: 6 kB / 1.09 GB, free: 3.492 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.81e-05/0.9459, allocations: 43.75 kB / 1.09 GB, free: 3.441 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 9.72e-07/0.9459, allocations: 0 / 1.09 GB, free: 3.441 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.000344/0.9462, allocations: 79.38 kB / 1.091 GB, free: 3.402 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.284e-05/0.9463, allocations: 53.36 kB / 1.091 GB, free: 3.34 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.028e-05/0.9463, allocations: 100.7 kB / 1.091 GB, free: 3.238 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 7.344e-06/0.9463, allocations: 26.83 kB / 1.091 GB, free: 3.207 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 2.286e-05/0.9464, allocations: 89.88 kB / 1.091 GB, free: 3.117 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.427e-05/0.9464, allocations: 4 kB / 1.091 GB, free: 3.113 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.621e-05/0.9464, allocations: 17.39 kB / 1.091 GB, free: 3.094 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.288e-05/0.9465, allocations: 312.9 kB / 1.091 GB, free: 2.781 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.45e-05/0.9465, allocations: 18.47 kB / 1.091 GB, free: 2.777 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.551e-05/0.9466, allocations: 18.44 kB / 1.091 GB, free: 2.773 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001522/0.9468, allocations: 41.77 kB / 1.091 GB, free: 2.758 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/0.9468, allocations: 4.578 kB / 1.091 GB, free: 2.754 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001822/0.947, allocations: 70.19 kB / 1.091 GB, free: 2.711 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.375e-05/0.947, allocations: 6.062 kB / 1.091 GB, free: 2.711 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.947, allocations: 0.5156 kB / 1.091 GB, free: 2.711 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.313e-05/0.947, allocations: 3.938 kB / 1.091 GB, free: 2.707 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.457e-05/0.9471, allocations: 8.234 kB / 1.091 GB, free: 2.707 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.748e-06/0.9471, allocations: 2.078 kB / 1.091 GB, free: 2.707 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.741e-05/0.9472, allocations: 9.078 kB / 1.091 GB, free: 2.703 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.528e-06/0.9472, allocations: 1.156 kB / 1.091 GB, free: 2.703 MB / 0.8575 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 4.402e-05/0.9472, allocations: 111.9 kB / 1.091 GB, free: 2.586 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.477e-05/0.9473, allocations: 6.234 kB / 1.091 GB, free: 2.582 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002194/0.9475, allocations: 70.53 kB / 1.091 GB, free: 2.539 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.366e-06/0.9475, allocations: 1.484 kB / 1.091 GB, free: 2.539 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.848e-06/0.9475, allocations: 0 / 1.091 GB, free: 2.539 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.9475, allocations: 4.75 kB / 1.091 GB, free: 2.535 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001329/0.9477, allocations: 160 kB / 1.092 GB, free: 2.34 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.51e-07/0.9477, allocations: 0.6875 kB / 1.092 GB, free: 2.34 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.145e-05/0.9477, allocations: 8.047 kB / 1.092 GB, free: 2.34 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.9477, allocations: 1.469 kB / 1.092 GB, free: 2.34 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.893e-06/0.9477, allocations: 0.75 kB / 1.092 GB, free: 2.34 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/0.9478, allocations: 0.9062 kB / 1.092 GB, free: 2.34 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.9478, allocations: 0 / 1.092 GB, free: 2.34 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002176/0.948, allocations: 170.8 kB / 1.092 GB, free: 2.191 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.653e-05/0.948, allocations: 82.47 kB / 1.092 GB, free: 2.094 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.195e-05/0.948, allocations: 1.172 kB / 1.092 GB, free: 2.094 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.595e-05/0.9481, allocations: 5.75 kB / 1.092 GB, free: 2.094 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.103e-05/0.9481, allocations: 3.156 kB / 1.092 GB, free: 2.094 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.226e-06/0.9481, allocations: 0.7188 kB / 1.092 GB, free: 2.094 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 2.319e-05/0.9482, allocations: 84.59 kB / 1.092 GB, free: 2.016 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9482, allocations: 4.031 kB / 1.092 GB, free: 2.012 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.000213/0.9484, allocations: 3.594 kB / 1.092 GB, free: 2.012 MB / 0.8575 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 0.0001162/0.9485, allocations: 101.5 kB / 1.092 GB, free: 1.922 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002162/0.9487, allocations: 34.8 kB / 1.092 GB, free: 1.918 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.9488, allocations: 0 / 1.092 GB, free: 1.918 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 8.599e-05/0.9488, allocations: 29.38 kB / 1.092 GB, free: 1.906 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002704/0.9491, allocations: 17.45 kB / 1.092 GB, free: 1.895 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000247/0.9494, allocations: 104.6 kB / 1.092 GB, free: 1.789 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001076/0.9495, allocations: 0.6798 MB / 1.093 GB, free: 1.09 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 2.362e-05/0.9495, allocations: 1.578 kB / 1.093 GB, free: 1.09 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.262e-05/0.9496, allocations: 8.5 kB / 1.093 GB, free: 1.086 MB / 0.8575 GB Notification: Performance of SimCode: time 2.4e-07/0.9496, allocations: 5.062 kB / 1.093 GB, free: 1.082 MB / 0.8575 GB Notification: Performance of Templates: time 0.002464/0.952, allocations: 426.9 kB / 1.093 GB, free: 1.023 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_Sin.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches