Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Log.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.Log,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|log1.u|log1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Log") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Log,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|log1.u|log1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Log") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005574/0.005575, allocations: 100.4 kB / 15.87 MB, free: 5.867 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.001126/0.001126, allocations: 192.8 kB / 16.79 MB, free: 5.809 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.5 MB, free: 4.438 MB / 190.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.425/2.425, allocations: 390.2 MB / 0.6649 GB, free: 0.5781 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001569/0.001569, allocations: 63.91 kB / 0.8125 GB, free: 14.83 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6328/0.6344, allocations: 140.4 MB / 0.9496 GB, free: 9.102 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Log): time 0.001815/0.6362, allocations: 0.7253 MB / 0.9503 GB, free: 8.547 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00069/0.637, allocations: 0.8064 MB / 0.9511 GB, free: 7.887 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.377e-05/0.637, allocations: 0 / 0.9511 GB, free: 7.887 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.275e-05/0.6371, allocations: 5 kB / 0.9511 GB, free: 7.883 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.47e-05/0.6371, allocations: 0 / 0.9511 GB, free: 7.883 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001218/0.6372, allocations: 6.156 kB / 0.9511 GB, free: 7.879 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.626e-05/0.6373, allocations: 20.7 kB / 0.9511 GB, free: 7.867 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.161e-05/0.6374, allocations: 7.906 kB / 0.9511 GB, free: 7.863 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.737e-05/0.6375, allocations: 10.77 kB / 0.9511 GB, free: 7.855 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.285e-05/0.6375, allocations: 10.55 kB / 0.9511 GB, free: 7.848 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.748e-05/0.6375, allocations: 1.25 kB / 0.9511 GB, free: 7.848 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 9.929e-06/0.6375, allocations: 5.25 kB / 0.9512 GB, free: 7.844 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.704e-05/0.6376, allocations: 9.203 kB / 0.9512 GB, free: 7.836 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.384e-05/0.6376, allocations: 6.25 kB / 0.9512 GB, free: 7.832 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 5.083e-05/0.6376, allocations: 14.78 kB / 0.9512 GB, free: 7.82 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.6377, allocations: 0 / 0.9512 GB, free: 7.82 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.764e-06/0.6377, allocations: 1.344 kB / 0.9512 GB, free: 7.82 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.028e-06/0.6377, allocations: 3.938 kB / 0.9512 GB, free: 7.816 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003459/0.638, allocations: 334.3 kB / 0.9515 GB, free: 7.453 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.586e-05/0.6381, allocations: 13.91 kB / 0.9515 GB, free: 7.449 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.857e-05/0.6381, allocations: 6.375 kB / 0.9515 GB, free: 7.445 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.54e-05/0.6382, allocations: 173.6 kB / 0.9517 GB, free: 7.238 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.001e-05/0.6382, allocations: 384 / 0.9517 GB, free: 7.238 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.946e-06/0.6382, allocations: 5.469 kB / 0.9517 GB, free: 7.234 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001569/0.6384, allocations: 53.27 kB / 0.9517 GB, free: 7.188 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.027e-06/0.6384, allocations: 1.625 kB / 0.9518 GB, free: 7.188 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.387e-06/0.6384, allocations: 3.938 kB / 0.9518 GB, free: 7.184 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.6384, allocations: 0 / 0.9518 GB, free: 7.184 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001534/0.6386, allocations: 38.36 kB / 0.9518 GB, free: 7.164 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002426/0.6388, allocations: 242 kB / 0.952 GB, free: 6.887 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001132/0.6389, allocations: 46.92 kB / 0.9521 GB, free: 6.844 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.082e-05/0.639, allocations: 18.72 kB / 0.9521 GB, free: 6.832 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.954e-05/0.639, allocations: 4 kB / 0.9521 GB, free: 6.828 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.272e-05/0.6391, allocations: 36.31 kB / 0.9521 GB, free: 6.785 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 9.91e-07/0.6391, allocations: 0 / 0.9521 GB, free: 6.785 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0003328/0.6394, allocations: 76.45 kB / 0.9522 GB, free: 6.734 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.229e-05/0.6394, allocations: 51.41 kB / 0.9522 GB, free: 6.672 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.34e-05/0.6395, allocations: 103.5 kB / 0.9523 GB, free: 6.566 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.284e-06/0.6395, allocations: 33.62 kB / 0.9524 GB, free: 6.527 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.3e-05/0.6395, allocations: 81.48 kB / 0.9525 GB, free: 6.445 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.805e-05/0.6396, allocations: 13.19 kB / 0.9525 GB, free: 6.434 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.643e-05/0.6396, allocations: 12.28 kB / 0.9525 GB, free: 6.418 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.095e-05/0.6396, allocations: 310.8 kB / 0.9528 GB, free: 6.105 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.074e-05/0.6397, allocations: 21.53 kB / 0.9528 GB, free: 6.094 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.883e-05/0.6398, allocations: 17.02 kB / 0.9528 GB, free: 6.086 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001422/0.6399, allocations: 39.64 kB / 0.9528 GB, free: 6.062 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.64, allocations: 1.25 kB / 0.9528 GB, free: 6.062 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001774/0.6401, allocations: 67.91 kB / 0.9529 GB, free: 6.012 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.361e-05/0.6402, allocations: 5.156 kB / 0.9529 GB, free: 6.012 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.108e-06/0.6402, allocations: 4.094 kB / 0.9529 GB, free: 6.008 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.383e-05/0.6402, allocations: 1.406 kB / 0.9529 GB, free: 6.008 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001036/0.6403, allocations: 13.58 kB / 0.9529 GB, free: 6 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.873e-06/0.6403, allocations: 0 / 0.9529 GB, free: 6 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.598e-05/0.6404, allocations: 8.156 kB / 0.9529 GB, free: 5.996 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.378e-06/0.6404, allocations: 0 / 0.9529 GB, free: 5.996 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 (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.869e-05/0.6404, allocations: 116.7 kB / 0.9531 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.288e-05/0.6405, allocations: 3.906 kB / 0.9531 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002056/0.6407, allocations: 74.53 kB / 0.9531 GB, free: 5.812 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.976e-06/0.6407, allocations: 1.062 kB / 0.9531 GB, free: 5.812 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.6407, allocations: 0 / 0.9531 GB, free: 5.812 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/0.6407, allocations: 1.094 kB / 0.9531 GB, free: 5.812 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001129/0.6408, allocations: 161.8 kB / 0.9533 GB, free: 5.609 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.6408, allocations: 3.984 kB / 0.9533 GB, free: 5.605 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.63e-05/0.6409, allocations: 6.188 kB / 0.9533 GB, free: 5.605 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.434e-06/0.6409, allocations: 0 / 0.9533 GB, free: 5.605 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.041e-06/0.6409, allocations: 13.53 kB / 0.9533 GB, free: 5.594 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.6409, allocations: 0 / 0.9533 GB, free: 5.594 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.6409, allocations: 0 / 0.9533 GB, free: 5.594 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001937/0.6411, allocations: 162.7 kB / 0.9535 GB, free: 5.441 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.794e-05/0.6411, allocations: 87.09 kB / 0.9535 GB, free: 5.34 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.323e-05/0.6411, allocations: 0 / 0.9535 GB, free: 5.34 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.401e-05/0.6412, allocations: 12.89 kB / 0.9536 GB, free: 5.332 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.421e-05/0.6413, allocations: 3.984 kB / 0.9536 GB, free: 5.328 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.035e-06/0.6413, allocations: 1.469 kB / 0.9536 GB, free: 5.328 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.979e-05/0.6413, allocations: 81.91 kB / 0.9536 GB, free: 5.25 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6413, allocations: 1.25 kB / 0.9536 GB, free: 5.25 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002114/0.6415, allocations: 2.906 kB / 0.9536 GB, free: 5.25 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 (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.0001286/0.6417, allocations: 97.31 kB / 0.9537 GB, free: 5.164 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001971/0.6419, allocations: 46.23 kB / 0.9538 GB, free: 5.141 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.6419, allocations: 0 / 0.9538 GB, free: 5.141 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 7.878e-05/0.642, allocations: 19.27 kB / 0.9538 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002929/0.6423, allocations: 8.875 kB / 0.9538 GB, free: 5.129 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000262/0.6425, allocations: 136.3 kB / 0.9539 GB, free: 4.977 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001215/0.6427, allocations: 0.6772 MB / 0.9546 GB, free: 4.277 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.562e-05/0.6427, allocations: 8.812 kB / 0.9546 GB, free: 4.27 MB / 0.7169 GB Notification: Performance of SimCode: time 3.01e-07/0.6427, allocations: 0 / 0.9546 GB, free: 4.27 MB / 0.7169 GB Notification: Performance of Templates: time 0.001683/0.6444, allocations: 0.5386 MB / 0.9551 GB, free: 4.004 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Log.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Log.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Log.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Log.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Log.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Log -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Log.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Log_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_Log.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Log.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches