Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Log10.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.Log10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|log10_1.u|log10_1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Log10") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Log10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|log10_1.u|log10_1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Log10") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00155/0.00155, allocations: 101.1 kB / 16.27 MB, free: 5.969 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.001307/0.001307, allocations: 194.8 kB / 17.2 MB, free: 5.594 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.369/1.369, allocations: 222.9 MB / 240.9 MB, free: 15.26 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.233/2.233, allocations: 390.3 MB / 0.6653 GB, free: 0.7031 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001433/0.001433, allocations: 76.8 kB / 0.8132 GB, free: 33.13 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2524/0.2539, allocations: 140.4 MB / 0.9503 GB, free: 8.848 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Log10): time 0.00216/0.2561, allocations: 0.6534 MB / 0.9509 GB, free: 8.188 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0009167/0.257, allocations: 0.81 MB / 0.9517 GB, free: 7.367 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.481e-05/0.2571, allocations: 0 / 0.9517 GB, free: 7.367 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.757e-05/0.2571, allocations: 3.938 kB / 0.9517 GB, free: 7.363 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 5.682e-05/0.2572, allocations: 4 kB / 0.9517 GB, free: 7.359 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001324/0.2573, allocations: 3.984 kB / 0.9517 GB, free: 7.355 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 6.771e-05/0.2574, allocations: 23.94 kB / 0.9518 GB, free: 7.332 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 9.788e-05/0.2575, allocations: 15.97 kB / 0.9518 GB, free: 7.316 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 5.491e-05/0.2576, allocations: 7.875 kB / 0.9518 GB, free: 7.309 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 3.9e-05/0.2576, allocations: 11.98 kB / 0.9518 GB, free: 7.297 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.54e-05/0.2576, allocations: 4 kB / 0.9518 GB, free: 7.293 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 8.837e-06/0.2576, allocations: 0 / 0.9518 GB, free: 7.293 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.58e-05/0.2577, allocations: 4 kB / 0.9518 GB, free: 7.289 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 2.903e-05/0.2577, allocations: 11.94 kB / 0.9518 GB, free: 7.277 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 6.929e-05/0.2578, allocations: 27.89 kB / 0.9518 GB, free: 7.25 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.377e-06/0.2578, allocations: 0 / 0.9518 GB, free: 7.25 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.112e-06/0.2578, allocations: 0 / 0.9518 GB, free: 7.25 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.759e-06/0.2578, allocations: 0 / 0.9518 GB, free: 7.25 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.0004089/0.2582, allocations: 339.7 kB / 0.9522 GB, free: 6.867 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.536e-05/0.2582, allocations: 12.03 kB / 0.9522 GB, free: 6.855 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.705e-05/0.2583, allocations: 0.9375 kB / 0.9522 GB, free: 6.855 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001085/0.2584, allocations: 168.2 kB / 0.9523 GB, free: 6.652 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.167e-05/0.2584, allocations: 8.375 kB / 0.9523 GB, free: 6.645 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.04e-05/0.2584, allocations: 384 / 0.9523 GB, free: 6.645 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00018/0.2586, allocations: 50.23 kB / 0.9524 GB, free: 6.59 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.334e-06/0.2586, allocations: 192 / 0.9524 GB, free: 6.59 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.041e-05/0.2586, allocations: 3.938 kB / 0.9524 GB, free: 6.586 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.138e-06/0.2587, allocations: 0 / 0.9524 GB, free: 6.586 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001847/0.2588, allocations: 35.95 kB / 0.9524 GB, free: 6.551 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00031/0.2592, allocations: 252.9 kB / 0.9527 GB, free: 6.254 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001276/0.2593, allocations: 38.5 kB / 0.9527 GB, free: 6.207 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.807e-05/0.2594, allocations: 20.89 kB / 0.9527 GB, free: 6.184 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.008e-05/0.2594, allocations: 4 kB / 0.9527 GB, free: 6.18 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.494e-05/0.2595, allocations: 38.56 kB / 0.9528 GB, free: 6.133 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=2): time 1.352e-06/0.2595, allocations: 0 / 0.9528 GB, free: 6.133 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2): time 0.0003474/0.2598, allocations: 77.58 kB / 0.9528 GB, free: 6.051 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.099e-05/0.2599, allocations: 55.41 kB / 0.9529 GB, free: 5.984 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.764e-05/0.2599, allocations: 97.86 kB / 0.953 GB, free: 5.879 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.543e-05/0.2599, allocations: 29.64 kB / 0.953 GB, free: 5.844 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 3.951e-05/0.26, allocations: 92.25 kB / 0.9531 GB, free: 5.75 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.622e-05/0.26, allocations: 3.906 kB / 0.9531 GB, free: 5.746 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.891e-05/0.26, allocations: 13.72 kB / 0.9531 GB, free: 5.727 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 9.634e-05/0.2601, allocations: 310.8 kB / 0.9534 GB, free: 5.414 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.557e-05/0.2602, allocations: 19.98 kB / 0.9534 GB, free: 5.395 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.706e-05/0.2603, allocations: 15.97 kB / 0.9534 GB, free: 5.379 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001573/0.2605, allocations: 48.89 kB / 0.9535 GB, free: 5.328 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.2605, allocations: 0 / 0.9535 GB, free: 5.328 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001944/0.2607, allocations: 69.53 kB / 0.9536 GB, free: 5.254 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.41e-05/0.2607, allocations: 8 kB / 0.9536 GB, free: 5.246 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.937e-06/0.2607, allocations: 0 / 0.9536 GB, free: 5.246 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.078e-05/0.2607, allocations: 3.938 kB / 0.9536 GB, free: 5.242 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.783e-05/0.2608, allocations: 8.016 kB / 0.9536 GB, free: 5.234 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.472e-06/0.2608, allocations: 8 kB / 0.9536 GB, free: 5.227 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.675e-05/0.2609, allocations: 0 / 0.9536 GB, free: 5.227 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.93e-06/0.2609, allocations: 4 kB / 0.9536 GB, free: 5.223 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 0.0001076/0.261, allocations: 109.8 kB / 0.9537 GB, free: 5.105 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.683e-05/0.2611, allocations: 7.891 kB / 0.9537 GB, free: 5.098 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002298/0.2613, allocations: 80.91 kB / 0.9538 GB, free: 5.012 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.907e-06/0.2613, allocations: 3.984 kB / 0.9538 GB, free: 5.008 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.487e-06/0.2613, allocations: 0 / 0.9538 GB, free: 5.008 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.244e-06/0.2613, allocations: 0 / 0.9538 GB, free: 5.008 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001837/0.2615, allocations: 157.6 kB / 0.9539 GB, free: 4.805 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.133e-06/0.2615, allocations: 0 / 0.9539 GB, free: 4.805 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.093e-05/0.2616, allocations: 11.98 kB / 0.9539 GB, free: 4.793 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.2616, allocations: 0 / 0.9539 GB, free: 4.793 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.821e-06/0.2616, allocations: 0 / 0.9539 GB, free: 4.793 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.2616, allocations: 0 / 0.9539 GB, free: 4.793 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.2616, allocations: 0 / 0.9539 GB, free: 4.793 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002325/0.2618, allocations: 167.5 kB / 0.9541 GB, free: 4.613 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 3.247e-05/0.2619, allocations: 77.11 kB / 0.9542 GB, free: 4.52 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.306e-05/0.2619, allocations: 7.984 kB / 0.9542 GB, free: 4.512 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.867e-05/0.262, allocations: 4 kB / 0.9542 GB, free: 4.508 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.578e-05/0.262, allocations: 3.938 kB / 0.9542 GB, free: 4.504 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.438e-06/0.262, allocations: 4.031 kB / 0.9542 GB, free: 4.5 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 4.175e-05/0.2621, allocations: 91.2 kB / 0.9543 GB, free: 4.41 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2621, allocations: 0 / 0.9543 GB, free: 4.41 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002183/0.2623, allocations: 4 kB / 0.9543 GB, free: 4.406 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.0001231/0.2624, allocations: 99.25 kB / 0.9544 GB, free: 4.301 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0002069/0.2627, allocations: 35.95 kB / 0.9544 GB, free: 4.266 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.2627, allocations: 4.062 kB / 0.9544 GB, free: 4.262 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 9.712e-05/0.2628, allocations: 19.98 kB / 0.9544 GB, free: 4.242 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002824/0.2631, allocations: 15.42 kB / 0.9545 GB, free: 4.23 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003179/0.2634, allocations: 142.9 kB / 0.9546 GB, free: 4.062 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002587/0.2637, allocations: 0.6805 MB / 0.9553 GB, free: 3.355 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.673e-05/0.2637, allocations: 11.5 kB / 0.9553 GB, free: 3.344 MB / 0.7325 GB Notification: Performance of SimCode: time 2.81e-07/0.2637, allocations: 4 kB / 0.9553 GB, free: 3.34 MB / 0.7325 GB Notification: Performance of Templates: time 0.001773/0.2655, allocations: 0.5413 MB / 0.9558 GB, free: 2.801 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Log10.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Log10.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Log10.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Log10.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Log10.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Log10 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Log10.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Log10_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_Log10.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Log10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches