Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine.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.Sources.Validation.Sine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine") translateModel(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001642/0.001643, allocations: 106.8 kB / 15.99 MB, free: 5.891 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.001927/0.001927, allocations: 195.9 kB / 16.91 MB, free: 5.746 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.366/1.366, allocations: 222.9 MB / 240.6 MB, free: 4.512 MB / 190.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.45/2.45, allocations: 390.2 MB / 0.665 GB, free: 0.5391 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001315/0.001315, allocations: 59.91 kB / 0.8127 GB, free: 14.73 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6615/0.6628, allocations: 140.4 MB / 0.9498 GB, free: 9.121 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine): time 0.001851/0.6647, allocations: 0.6746 MB / 0.9505 GB, free: 8.605 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0007347/0.6655, allocations: 0.8078 MB / 0.9512 GB, free: 7.945 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.729e-05/0.6655, allocations: 0 / 0.9512 GB, free: 7.945 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.091e-05/0.6656, allocations: 0 / 0.9512 GB, free: 7.945 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.907e-05/0.6656, allocations: 5.312 kB / 0.9513 GB, free: 7.941 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001466/0.6658, allocations: 5.375 kB / 0.9513 GB, free: 7.938 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.053e-05/0.6658, allocations: 18.8 kB / 0.9513 GB, free: 7.926 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 5.27e-05/0.6659, allocations: 2.75 kB / 0.9513 GB, free: 7.926 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 9.06e-05/0.666, allocations: 16.11 kB / 0.9513 GB, free: 7.914 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.695e-05/0.6661, allocations: 10.67 kB / 0.9513 GB, free: 7.906 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.36e-05/0.6661, allocations: 1.375 kB / 0.9513 GB, free: 7.906 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 8.726e-06/0.6661, allocations: 1.375 kB / 0.9513 GB, free: 7.906 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.29e-05/0.6661, allocations: 4 kB / 0.9513 GB, free: 7.902 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.758e-05/0.6661, allocations: 6.688 kB / 0.9513 GB, free: 7.898 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 5.568e-05/0.6662, allocations: 10.72 kB / 0.9513 GB, free: 7.891 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.631e-06/0.6662, allocations: 1.375 kB / 0.9513 GB, free: 7.891 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.853e-06/0.6662, allocations: 0 / 0.9513 GB, free: 7.891 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.719e-06/0.6662, allocations: 0 / 0.9513 GB, free: 7.891 MB / 0.7169 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.0003437/0.6666, allocations: 333.7 kB / 0.9516 GB, free: 7.523 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.377e-05/0.6666, allocations: 9.625 kB / 0.9517 GB, free: 7.523 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.467e-05/0.6666, allocations: 2.312 kB / 0.9517 GB, free: 7.523 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.334e-05/0.6667, allocations: 169.6 kB / 0.9518 GB, free: 7.32 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.985e-06/0.6667, allocations: 1.75 kB / 0.9518 GB, free: 7.32 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.057e-05/0.6668, allocations: 384 / 0.9518 GB, free: 7.32 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001114/0.6669, allocations: 43.73 kB / 0.9519 GB, free: 7.277 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.923e-06/0.6669, allocations: 192 / 0.9519 GB, free: 7.277 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.415e-06/0.6669, allocations: 3.938 kB / 0.9519 GB, free: 7.273 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.08e-06/0.6669, allocations: 5.375 kB / 0.9519 GB, free: 7.27 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.854e-05/0.667, allocations: 12.23 kB / 0.9519 GB, free: 7.266 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001084/0.6671, allocations: 152.4 kB / 0.952 GB, free: 7.07 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 5.672e-05/0.6671, allocations: 32 kB / 0.9521 GB, free: 7.035 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.661e-05/0.6672, allocations: 12.92 kB / 0.9521 GB, free: 7.023 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.478e-05/0.6672, allocations: 0 / 0.9521 GB, free: 7.023 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.149e-05/0.6672, allocations: 35.94 kB / 0.9521 GB, free: 6.98 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=1): time 7.31e-07/0.6672, allocations: 0 / 0.9521 GB, free: 6.98 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1): time 0.0001808/0.6674, allocations: 58.11 kB / 0.9522 GB, free: 6.934 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.02e-05/0.6674, allocations: 51.41 kB / 0.9522 GB, free: 6.871 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.157e-05/0.6675, allocations: 104.7 kB / 0.9523 GB, free: 6.766 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.605e-06/0.6675, allocations: 29.64 kB / 0.9523 GB, free: 6.73 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.867e-05/0.6675, allocations: 85.58 kB / 0.9524 GB, free: 6.645 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.362e-05/0.6676, allocations: 11.98 kB / 0.9524 GB, free: 6.633 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.433e-05/0.6676, allocations: 11.09 kB / 0.9524 GB, free: 6.617 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.186e-05/0.6676, allocations: 312.2 kB / 0.9527 GB, free: 6.305 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.407e-05/0.6677, allocations: 8.109 kB / 0.9527 GB, free: 6.301 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.665e-05/0.6677, allocations: 9.5 kB / 0.9528 GB, free: 6.297 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.915e-05/0.6678, allocations: 17.09 kB / 0.9528 GB, free: 6.285 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.572e-06/0.6678, allocations: 5.688 kB / 0.9528 GB, free: 6.281 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1) (initialization): time 8.937e-05/0.6679, allocations: 49.97 kB / 0.9528 GB, free: 6.238 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.279e-05/0.6679, allocations: 4.125 kB / 0.9528 GB, free: 6.238 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/0.6679, allocations: 9.312 kB / 0.9528 GB, free: 6.23 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.367e-05/0.6679, allocations: 3.984 kB / 0.9528 GB, free: 6.227 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.282e-05/0.668, allocations: 6.688 kB / 0.9529 GB, free: 6.223 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.428e-06/0.668, allocations: 0 / 0.9529 GB, free: 6.223 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.927e-05/0.668, allocations: 6.688 kB / 0.9529 GB, free: 6.219 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.871e-06/0.668, allocations: 0 / 0.9529 GB, free: 6.219 MB / 0.7169 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 4.239e-05/0.6681, allocations: 111.2 kB / 0.953 GB, free: 6.102 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.235e-06/0.6681, allocations: 5.359 kB / 0.953 GB, free: 6.098 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.708e-05/0.6681, allocations: 12.44 kB / 0.953 GB, free: 6.086 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.302e-06/0.6681, allocations: 0 / 0.953 GB, free: 6.086 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.6681, allocations: 1.375 kB / 0.953 GB, free: 6.086 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.6681, allocations: 0 / 0.953 GB, free: 6.086 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.4e-05/0.6682, allocations: 148.4 kB / 0.9531 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.61e-07/0.6682, allocations: 0 / 0.9531 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.324e-05/0.6682, allocations: 4.125 kB / 0.9531 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.312e-06/0.6683, allocations: 4 kB / 0.9531 GB, free: 5.891 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.144e-06/0.6683, allocations: 7.922 kB / 0.9531 GB, free: 5.883 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.6683, allocations: 1.375 kB / 0.9531 GB, free: 5.883 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.6683, allocations: 0 / 0.9531 GB, free: 5.883 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.735e-05/0.6684, allocations: 70.88 kB / 0.9532 GB, free: 5.809 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.574e-05/0.6684, allocations: 81.05 kB / 0.9533 GB, free: 5.711 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.347e-05/0.6684, allocations: 5.312 kB / 0.9533 GB, free: 5.707 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.733e-05/0.6685, allocations: 9.391 kB / 0.9533 GB, free: 5.699 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.933e-05/0.6685, allocations: 1.375 kB / 0.9533 GB, free: 5.699 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.045e-06/0.6685, allocations: 3.938 kB / 0.9533 GB, free: 5.695 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.152e-05/0.6685, allocations: 83.34 kB / 0.9534 GB, free: 5.617 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6685, allocations: 0 / 0.9534 GB, free: 5.617 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001766/0.6687, allocations: 2.438 kB / 0.9534 GB, free: 5.617 MB / 0.7169 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.0001157/0.6688, allocations: 108.1 kB / 0.9535 GB, free: 5.523 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001121/0.6689, allocations: 17.61 kB / 0.9535 GB, free: 5.516 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.382e-06/0.669, allocations: 0 / 0.9535 GB, free: 5.516 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 3.678e-05/0.669, allocations: 10.44 kB / 0.9535 GB, free: 5.512 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001399/0.6691, allocations: 1.734 kB / 0.9535 GB, free: 5.512 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000251/0.6694, allocations: 136.3 kB / 0.9536 GB, free: 5.367 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001358/0.6695, allocations: 0.6833 MB / 0.9543 GB, free: 4.66 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.483e-05/0.6696, allocations: 8.375 kB / 0.9543 GB, free: 4.652 MB / 0.7169 GB Notification: Performance of SimCode: time 2.3e-07/0.6696, allocations: 0 / 0.9543 GB, free: 4.652 MB / 0.7169 GB Notification: Performance of Templates: time 0.001842/0.6714, allocations: 468.8 kB / 0.9548 GB, free: 4.426 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Sine.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches