Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp.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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.Exp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Exp1.u|Exp1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Exp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Exp1.u|Exp1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001563/0.001563, allocations: 103.5 kB / 16.35 MB, free: 6.285 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.001621/0.001621, allocations: 193.5 kB / 17.29 MB, free: 5.863 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.448/1.448, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.403/2.403, allocations: 390.3 MB / 0.6655 GB, free: 0.582 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001309/0.00131, allocations: 64.47 kB / 0.814 GB, free: 32.62 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.33/0.3313, allocations: 140.4 MB / 0.9511 GB, free: 8.027 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Exp): time 0.002097/0.3335, allocations: 0.6591 MB / 0.9518 GB, free: 7.371 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0009965/0.3345, allocations: 0.8039 MB / 0.9526 GB, free: 6.555 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.796e-05/0.3346, allocations: 0 / 0.9526 GB, free: 6.555 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 5.635e-05/0.3346, allocations: 11.88 kB / 0.9526 GB, free: 6.543 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 8.568e-05/0.3347, allocations: 3.938 kB / 0.9526 GB, free: 6.539 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001661/0.3349, allocations: 11.98 kB / 0.9526 GB, free: 6.527 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 7.278e-05/0.335, allocations: 23.97 kB / 0.9526 GB, free: 6.504 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000115/0.3351, allocations: 12 kB / 0.9526 GB, free: 6.492 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 6.375e-05/0.3352, allocations: 11.92 kB / 0.9526 GB, free: 6.48 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 4.598e-05/0.3352, allocations: 11.94 kB / 0.9526 GB, free: 6.469 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.719e-05/0.3353, allocations: 0 / 0.9526 GB, free: 6.469 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 1.034e-05/0.3353, allocations: 4 kB / 0.9527 GB, free: 6.465 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.054e-05/0.3353, allocations: 3.984 kB / 0.9527 GB, free: 6.461 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.186e-05/0.3353, allocations: 11.94 kB / 0.9527 GB, free: 6.449 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 9.006e-05/0.3354, allocations: 23.89 kB / 0.9527 GB, free: 6.426 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.3354, allocations: 0 / 0.9527 GB, free: 6.426 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.736e-06/0.3355, allocations: 0 / 0.9527 GB, free: 6.426 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.245e-05/0.3355, allocations: 0 / 0.9527 GB, free: 6.426 MB / 0.7325 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.0004983/0.336, allocations: 339.5 kB / 0.953 GB, free: 6.043 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.504e-05/0.336, allocations: 12.03 kB / 0.953 GB, free: 6.031 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.647e-05/0.3361, allocations: 0.9375 kB / 0.953 GB, free: 6.031 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001615/0.3362, allocations: 172.2 kB / 0.9532 GB, free: 5.824 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.479e-05/0.3363, allocations: 4.375 kB / 0.9532 GB, free: 5.82 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.495e-05/0.3363, allocations: 8.359 kB / 0.9532 GB, free: 5.812 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001708/0.3365, allocations: 48.36 kB / 0.9532 GB, free: 5.762 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/0.3365, allocations: 8.125 kB / 0.9533 GB, free: 5.754 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.403e-05/0.3365, allocations: 7.922 kB / 0.9533 GB, free: 5.746 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.3365, allocations: 0 / 0.9533 GB, free: 5.746 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001557/0.3367, allocations: 31.97 kB / 0.9533 GB, free: 5.715 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003407/0.337, allocations: 240.9 kB / 0.9535 GB, free: 5.43 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001201/0.3371, allocations: 46.53 kB / 0.9536 GB, free: 5.375 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.46e-05/0.3372, allocations: 16.91 kB / 0.9536 GB, free: 5.355 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.163e-05/0.3373, allocations: 0 / 0.9536 GB, free: 5.355 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.296e-05/0.3373, allocations: 38.5 kB / 0.9536 GB, free: 5.309 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=2): time 1.103e-06/0.3373, allocations: 0 / 0.9536 GB, free: 5.309 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2): time 0.0003465/0.3376, allocations: 81.73 kB / 0.9537 GB, free: 5.223 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.078e-05/0.3377, allocations: 51.41 kB / 0.9537 GB, free: 5.16 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.088e-05/0.3378, allocations: 105.8 kB / 0.9538 GB, free: 5.047 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.703e-05/0.3378, allocations: 25.7 kB / 0.9539 GB, free: 5.016 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 4.107e-05/0.3378, allocations: 84.08 kB / 0.954 GB, free: 4.93 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.706e-05/0.3379, allocations: 7.906 kB / 0.954 GB, free: 4.922 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.141e-05/0.3379, allocations: 13.72 kB / 0.954 GB, free: 4.902 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001017/0.338, allocations: 314.8 kB / 0.9543 GB, free: 4.586 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.682e-05/0.3381, allocations: 20.02 kB / 0.9543 GB, free: 4.566 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.996e-05/0.3382, allocations: 19.92 kB / 0.9543 GB, free: 4.547 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001395/0.3383, allocations: 40.77 kB / 0.9544 GB, free: 4.504 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.3383, allocations: 0 / 0.9544 GB, free: 4.504 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001819/0.3385, allocations: 73.66 kB / 0.9544 GB, free: 4.426 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.335e-05/0.3385, allocations: 8 kB / 0.9544 GB, free: 4.418 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.3385, allocations: 0 / 0.9544 GB, free: 4.418 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.438e-05/0.3386, allocations: 0 / 0.9544 GB, free: 4.418 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000102/0.3387, allocations: 7.984 kB / 0.9544 GB, free: 4.41 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.705e-06/0.3387, allocations: 0 / 0.9544 GB, free: 4.41 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.691e-05/0.3387, allocations: 7.984 kB / 0.9544 GB, free: 4.402 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.396e-06/0.3388, allocations: 4 kB / 0.9544 GB, free: 4.398 MB / 0.7325 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 7.636e-05/0.3388, allocations: 119.7 kB / 0.9546 GB, free: 4.273 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.456e-05/0.3389, allocations: 3.906 kB / 0.9546 GB, free: 4.27 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002218/0.3391, allocations: 72.78 kB / 0.9546 GB, free: 4.191 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.3391, allocations: 0 / 0.9546 GB, free: 4.191 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.3391, allocations: 0 / 0.9546 GB, free: 4.191 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.3391, allocations: 0 / 0.9546 GB, free: 4.191 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001601/0.3393, allocations: 161.6 kB / 0.9548 GB, free: 3.984 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.3393, allocations: 0 / 0.9548 GB, free: 3.984 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.553e-05/0.3394, allocations: 12.03 kB / 0.9548 GB, free: 3.973 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.536e-06/0.3394, allocations: 3.984 kB / 0.9548 GB, free: 3.969 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.336e-06/0.3394, allocations: 4 kB / 0.9548 GB, free: 3.965 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.3394, allocations: 0 / 0.9548 GB, free: 3.965 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.3394, allocations: 0 / 0.9548 GB, free: 3.965 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002183/0.3396, allocations: 167.4 kB / 0.955 GB, free: 3.785 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 2.937e-05/0.3396, allocations: 81.14 kB / 0.955 GB, free: 3.688 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.284e-05/0.3397, allocations: 4 kB / 0.9551 GB, free: 3.684 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.678e-05/0.3397, allocations: 7.984 kB / 0.9551 GB, free: 3.676 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.521e-05/0.3398, allocations: 0 / 0.9551 GB, free: 3.676 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.546e-06/0.3398, allocations: 192 / 0.9551 GB, free: 3.676 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 3.739e-05/0.3398, allocations: 87.27 kB / 0.9551 GB, free: 3.59 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.7e-07/0.3398, allocations: 3.938 kB / 0.9551 GB, free: 3.586 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002211/0.3401, allocations: 4 kB / 0.9551 GB, free: 3.582 MB / 0.7325 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.0001364/0.3402, allocations: 99.25 kB / 0.9552 GB, free: 3.477 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0002045/0.3404, allocations: 39.95 kB / 0.9553 GB, free: 3.438 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.3404, allocations: 3.938 kB / 0.9553 GB, free: 3.434 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 8.031e-05/0.3405, allocations: 19.98 kB / 0.9553 GB, free: 3.414 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000308/0.3408, allocations: 11.86 kB / 0.9553 GB, free: 3.402 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002769/0.3411, allocations: 101.7 kB / 0.9554 GB, free: 3.277 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002368/0.3414, allocations: 0.6805 MB / 0.9561 GB, free: 2.57 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 2.438e-05/0.3414, allocations: 4 kB / 0.9561 GB, free: 2.566 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.443e-05/0.3414, allocations: 11.38 kB / 0.9561 GB, free: 2.555 MB / 0.7325 GB Notification: Performance of SimCode: time 2.4e-07/0.3414, allocations: 0 / 0.9561 GB, free: 2.555 MB / 0.7325 GB Notification: Performance of Templates: time 0.002577/0.344, allocations: 429.7 kB / 0.9565 GB, free: 2.141 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_Exp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches