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.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.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.001489/0.001489, allocations: 105.1 kB / 16.27 MB, free: 6.414 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.001668/0.001668, allocations: 190.3 kB / 17.2 MB, free: 5.953 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.45/1.45, allocations: 222.9 MB / 240.9 MB, free: 15.21 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.199/2.199, allocations: 390.3 MB / 0.6653 GB, free: 0.7188 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001477/0.001477, allocations: 69.28 kB / 0.8132 GB, free: 32.94 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2514/0.2529, allocations: 140.4 MB / 0.9503 GB, free: 8.859 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Log): time 0.002081/0.255, allocations: 0.6571 MB / 0.9509 GB, free: 8.199 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0009432/0.256, allocations: 0.8138 MB / 0.9517 GB, free: 7.375 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.924e-05/0.2561, allocations: 0 / 0.9517 GB, free: 7.375 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 3.05e-05/0.2561, allocations: 3.938 kB / 0.9517 GB, free: 7.371 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 6.317e-05/0.2562, allocations: 7.938 kB / 0.9517 GB, free: 7.363 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001687/0.2564, allocations: 7.984 kB / 0.9517 GB, free: 7.355 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 6.325e-05/0.2565, allocations: 16 kB / 0.9518 GB, free: 7.34 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001017/0.2566, allocations: 7.984 kB / 0.9518 GB, free: 7.332 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 6.427e-05/0.2566, allocations: 11.94 kB / 0.9518 GB, free: 7.32 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 4.343e-05/0.2567, allocations: 15.92 kB / 0.9518 GB, free: 7.305 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.587e-05/0.2567, allocations: 4 kB / 0.9518 GB, free: 7.301 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 1.134e-05/0.2567, allocations: 4 kB / 0.9518 GB, free: 7.297 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.89e-05/0.2567, allocations: 3.984 kB / 0.9518 GB, free: 7.293 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.336e-05/0.2568, allocations: 7.938 kB / 0.9518 GB, free: 7.285 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 7.468e-05/0.2569, allocations: 19.91 kB / 0.9518 GB, free: 7.266 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.2569, allocations: 4 kB / 0.9518 GB, free: 7.262 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.313e-06/0.2569, allocations: 0 / 0.9518 GB, free: 7.262 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 8.696e-06/0.2569, allocations: 0 / 0.9518 GB, free: 7.262 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.0004443/0.2573, allocations: 339.8 kB / 0.9522 GB, free: 6.879 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.787e-05/0.2574, allocations: 8.031 kB / 0.9522 GB, free: 6.871 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.158e-05/0.2574, allocations: 4.938 kB / 0.9522 GB, free: 6.867 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001181/0.2576, allocations: 176.2 kB / 0.9523 GB, free: 6.656 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.608e-06/0.2576, allocations: 384 / 0.9523 GB, free: 6.656 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.213e-05/0.2576, allocations: 4.375 kB / 0.9524 GB, free: 6.652 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001701/0.2578, allocations: 46.23 kB / 0.9524 GB, free: 6.602 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.194e-06/0.2578, allocations: 192 / 0.9524 GB, free: 6.602 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.376e-05/0.2578, allocations: 7.938 kB / 0.9524 GB, free: 6.594 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-06/0.2578, allocations: 3.938 kB / 0.9524 GB, free: 6.59 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001719/0.258, allocations: 31.97 kB / 0.9524 GB, free: 6.559 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003261/0.2583, allocations: 245 kB / 0.9527 GB, free: 6.27 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001292/0.2585, allocations: 38.5 kB / 0.9527 GB, free: 6.223 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.123e-05/0.2586, allocations: 28.91 kB / 0.9527 GB, free: 6.191 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.925e-05/0.2586, allocations: 0 / 0.9527 GB, free: 6.191 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.635e-05/0.2586, allocations: 42.48 kB / 0.9528 GB, free: 6.141 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=2): time 9.11e-07/0.2586, allocations: 0 / 0.9528 GB, free: 6.141 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2): time 0.0003701/0.259, allocations: 77.66 kB / 0.9528 GB, free: 6.059 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.073e-05/0.259, allocations: 59.52 kB / 0.9529 GB, free: 5.988 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.941e-05/0.2591, allocations: 101.8 kB / 0.953 GB, free: 5.879 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.393e-05/0.2592, allocations: 29.7 kB / 0.953 GB, free: 5.844 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 5.363e-05/0.2592, allocations: 80.14 kB / 0.9531 GB, free: 5.762 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.967e-05/0.2592, allocations: 3.906 kB / 0.9531 GB, free: 5.758 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.833e-05/0.2593, allocations: 17.7 kB / 0.9531 GB, free: 5.734 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001096/0.2594, allocations: 318.8 kB / 0.9534 GB, free: 5.414 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.423e-05/0.2595, allocations: 11.98 kB / 0.9534 GB, free: 5.402 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.798e-05/0.2596, allocations: 23.98 kB / 0.9535 GB, free: 5.379 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001618/0.2597, allocations: 40.75 kB / 0.9535 GB, free: 5.336 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.2598, allocations: 0 / 0.9535 GB, free: 5.336 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001992/0.26, allocations: 65.61 kB / 0.9536 GB, free: 5.266 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.668e-05/0.26, allocations: 12.08 kB / 0.9536 GB, free: 5.254 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.04e-06/0.26, allocations: 0 / 0.9536 GB, free: 5.254 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.457e-05/0.26, allocations: 4 kB / 0.9536 GB, free: 5.25 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.93e-05/0.2601, allocations: 4 kB / 0.9536 GB, free: 5.246 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.839e-06/0.2601, allocations: 0 / 0.9536 GB, free: 5.246 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.012e-05/0.2602, allocations: 7.984 kB / 0.9536 GB, free: 5.238 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.95e-06/0.2602, allocations: 0 / 0.9536 GB, free: 5.238 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.658e-05/0.2603, allocations: 117.8 kB / 0.9537 GB, free: 5.113 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.602e-05/0.2603, allocations: 7.906 kB / 0.9537 GB, free: 5.105 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002483/0.2606, allocations: 68.72 kB / 0.9538 GB, free: 5.031 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.609e-06/0.2606, allocations: 7.984 kB / 0.9538 GB, free: 5.023 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.2606, allocations: 0 / 0.9538 GB, free: 5.023 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.836e-06/0.2606, allocations: 0 / 0.9538 GB, free: 5.023 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001629/0.2608, allocations: 161.6 kB / 0.9539 GB, free: 4.816 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.2608, allocations: 0 / 0.9539 GB, free: 4.816 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.696e-05/0.2608, allocations: 15.98 kB / 0.954 GB, free: 4.801 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.923e-06/0.2608, allocations: 4.031 kB / 0.954 GB, free: 4.797 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.071e-06/0.2609, allocations: 0 / 0.954 GB, free: 4.797 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.2609, allocations: 0 / 0.954 GB, free: 4.797 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.2609, allocations: 0 / 0.954 GB, free: 4.797 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002467/0.2611, allocations: 163.4 kB / 0.9541 GB, free: 4.621 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 3.553e-05/0.2612, allocations: 77.3 kB / 0.9542 GB, free: 4.527 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.239e-05/0.2612, allocations: 4.031 kB / 0.9542 GB, free: 4.523 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.876e-05/0.2613, allocations: 7.984 kB / 0.9542 GB, free: 4.516 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.158e-05/0.2613, allocations: 11.98 kB / 0.9542 GB, free: 4.504 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.176e-06/0.2613, allocations: 0 / 0.9542 GB, free: 4.504 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 3.856e-05/0.2614, allocations: 83.27 kB / 0.9543 GB, free: 4.422 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.3e-07/0.2614, allocations: 0 / 0.9543 GB, free: 4.422 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002215/0.2616, allocations: 4 kB / 0.9543 GB, free: 4.418 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.0001384/0.2617, allocations: 95.25 kB / 0.9544 GB, free: 4.316 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0002185/0.262, allocations: 43.91 kB / 0.9544 GB, free: 4.273 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/0.262, allocations: 7.938 kB / 0.9544 GB, free: 4.266 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 8.657e-05/0.2621, allocations: 19.91 kB / 0.9545 GB, free: 4.246 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000287/0.2624, allocations: 11.88 kB / 0.9545 GB, free: 4.234 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004504/0.2628, allocations: 143.3 kB / 0.9546 GB, free: 4.062 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003366/0.2632, allocations: 0.6766 MB / 0.9553 GB, free: 3.359 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.675e-05/0.2632, allocations: 11.42 kB / 0.9553 GB, free: 3.348 MB / 0.7325 GB Notification: Performance of SimCode: time 2.51e-07/0.2632, allocations: 0 / 0.9553 GB, free: 3.348 MB / 0.7325 GB Notification: Performance of Templates: time 0.002387/0.2656, allocations: 0.5404 MB / 0.9558 GB, free: 2.812 MB / 0.7325 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