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.001478/0.001478, allocations: 102.9 kB / 16.37 MB, free: 6.469 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.001545/0.001545, allocations: 191.8 kB / 17.31 MB, free: 5.824 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.454/1.454, 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.362/2.362, allocations: 390.3 MB / 0.6655 GB, free: 0.6172 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001298/0.001299, allocations: 65.39 kB / 0.814 GB, free: 32.62 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3277/0.329, allocations: 140.4 MB / 0.9511 GB, free: 8.055 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Log): time 0.002124/0.3312, allocations: 0.6605 MB / 0.9518 GB, free: 7.398 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0009146/0.3321, allocations: 0.8099 MB / 0.9526 GB, free: 6.578 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.168e-05/0.3321, allocations: 4 kB / 0.9526 GB, free: 6.574 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.923e-05/0.3322, allocations: 3.938 kB / 0.9526 GB, free: 6.57 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 5.682e-05/0.3323, allocations: 7.938 kB / 0.9526 GB, free: 6.562 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001357/0.3324, allocations: 8 kB / 0.9526 GB, free: 6.555 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 6.886e-05/0.3325, allocations: 23.97 kB / 0.9526 GB, free: 6.531 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001001/0.3326, allocations: 4 kB / 0.9526 GB, free: 6.527 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 6.632e-05/0.3327, allocations: 15.92 kB / 0.9526 GB, free: 6.512 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 3.915e-05/0.3327, allocations: 15.92 kB / 0.9527 GB, free: 6.496 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.37e-05/0.3327, allocations: 0 / 0.9527 GB, free: 6.496 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 1.049e-05/0.3327, allocations: 4 kB / 0.9527 GB, free: 6.492 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.356e-05/0.3328, allocations: 0 / 0.9527 GB, free: 6.492 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 2.941e-05/0.3328, allocations: 11.94 kB / 0.9527 GB, free: 6.48 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 8.179e-05/0.3329, allocations: 27.89 kB / 0.9527 GB, free: 6.453 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.681e-06/0.3329, allocations: 0 / 0.9527 GB, free: 6.453 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.124e-06/0.3329, allocations: 0 / 0.9527 GB, free: 6.453 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.458e-06/0.3329, allocations: 0 / 0.9527 GB, free: 6.453 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.0005561/0.3335, allocations: 335.5 kB / 0.953 GB, free: 6.074 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.522e-05/0.3335, allocations: 8.031 kB / 0.953 GB, free: 6.066 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.004e-05/0.3336, allocations: 4.938 kB / 0.953 GB, free: 6.062 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001434/0.3337, allocations: 172.2 kB / 0.9532 GB, free: 5.855 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.706e-06/0.3337, allocations: 4.312 kB / 0.9532 GB, free: 5.852 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.614e-05/0.3337, allocations: 12.36 kB / 0.9532 GB, free: 5.84 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001799/0.3339, allocations: 50.23 kB / 0.9533 GB, free: 5.785 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.312e-05/0.3339, allocations: 192 / 0.9533 GB, free: 5.785 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.265e-05/0.334, allocations: 11.88 kB / 0.9533 GB, free: 5.773 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.334, allocations: 0 / 0.9533 GB, free: 5.773 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001449/0.3341, allocations: 27.97 kB / 0.9533 GB, free: 5.746 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003789/0.3345, allocations: 249 kB / 0.9535 GB, free: 5.453 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001258/0.3347, allocations: 42.5 kB / 0.9536 GB, free: 5.402 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.08e-05/0.3347, allocations: 20.91 kB / 0.9536 GB, free: 5.379 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.722e-05/0.3348, allocations: 0 / 0.9536 GB, free: 5.379 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.544e-05/0.3348, allocations: 38.48 kB / 0.9536 GB, free: 5.332 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=2): time 8.51e-07/0.3348, allocations: 4 kB / 0.9536 GB, free: 5.328 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2): time 0.0003331/0.3352, allocations: 77.66 kB / 0.9537 GB, free: 5.246 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.853e-05/0.3352, allocations: 51.41 kB / 0.9538 GB, free: 5.184 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001/0.3353, allocations: 101.8 kB / 0.9539 GB, free: 5.074 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.247e-05/0.3353, allocations: 33.64 kB / 0.9539 GB, free: 5.035 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 4.687e-05/0.3354, allocations: 80.14 kB / 0.954 GB, free: 4.953 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.808e-05/0.3354, allocations: 8.031 kB / 0.954 GB, free: 4.945 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.46e-05/0.3354, allocations: 17.7 kB / 0.954 GB, free: 4.922 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001439/0.3356, allocations: 314.8 kB / 0.9543 GB, free: 4.605 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.316e-05/0.3357, allocations: 11.98 kB / 0.9543 GB, free: 4.594 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.725e-05/0.3358, allocations: 23.92 kB / 0.9543 GB, free: 4.57 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001364/0.3359, allocations: 40.88 kB / 0.9544 GB, free: 4.527 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.639e-06/0.3359, allocations: 4 kB / 0.9544 GB, free: 4.523 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001734/0.3361, allocations: 61.61 kB / 0.9544 GB, free: 4.457 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.056e-05/0.3361, allocations: 6.031 kB / 0.9544 GB, free: 4.453 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/0.3361, allocations: 7.984 kB / 0.9544 GB, free: 4.445 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.12e-05/0.3362, allocations: 0 / 0.9544 GB, free: 4.445 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.268e-05/0.3362, allocations: 4 kB / 0.9544 GB, free: 4.441 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.242e-06/0.3363, allocations: 32 / 0.9544 GB, free: 4.441 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.521e-05/0.3363, allocations: 11.98 kB / 0.9545 GB, free: 4.43 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.714e-06/0.3363, allocations: 3.984 kB / 0.9545 GB, free: 4.426 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 8.908e-05/0.3364, allocations: 117.8 kB / 0.9546 GB, free: 4.301 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.39e-05/0.3365, allocations: 7.844 kB / 0.9546 GB, free: 4.293 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002082/0.3367, allocations: 68.78 kB / 0.9546 GB, free: 4.219 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.3367, allocations: 0 / 0.9546 GB, free: 4.219 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.713e-06/0.3367, allocations: 8.016 kB / 0.9547 GB, free: 4.211 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.3367, allocations: 0 / 0.9547 GB, free: 4.211 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001633/0.3369, allocations: 157.6 kB / 0.9548 GB, free: 4.008 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.3369, allocations: 0 / 0.9548 GB, free: 4.008 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.51e-05/0.3369, allocations: 11.98 kB / 0.9548 GB, free: 3.996 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.3369, allocations: 3.938 kB / 0.9548 GB, free: 3.992 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.606e-06/0.337, allocations: 4 kB / 0.9548 GB, free: 3.988 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.337, allocations: 0 / 0.9548 GB, free: 3.988 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.337, allocations: 0 / 0.9548 GB, free: 3.988 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002413/0.3372, allocations: 167.4 kB / 0.955 GB, free: 3.809 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.18e-05/0.3373, allocations: 77.11 kB / 0.9551 GB, free: 3.715 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.463e-05/0.3373, allocations: 0 / 0.9551 GB, free: 3.715 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.265e-05/0.3374, allocations: 11.98 kB / 0.9551 GB, free: 3.703 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.786e-05/0.3374, allocations: 8.188 kB / 0.9551 GB, free: 3.695 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.759e-06/0.3374, allocations: 0 / 0.9551 GB, free: 3.695 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 4.105e-05/0.3375, allocations: 91.23 kB / 0.9552 GB, free: 3.605 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3375, allocations: 0 / 0.9552 GB, free: 3.605 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002168/0.3377, allocations: 4 kB / 0.9552 GB, free: 3.602 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.0001783/0.3379, allocations: 99.23 kB / 0.9553 GB, free: 3.496 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0002017/0.3381, allocations: 35.97 kB / 0.9553 GB, free: 3.461 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.953e-05/0.3381, allocations: 0 / 0.9553 GB, free: 3.461 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 7.702e-05/0.3382, allocations: 31.97 kB / 0.9553 GB, free: 3.43 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003188/0.3385, allocations: 7.875 kB / 0.9553 GB, free: 3.422 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002865/0.3388, allocations: 101.5 kB / 0.9554 GB, free: 3.297 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002842/0.3391, allocations: 0.6766 MB / 0.9561 GB, free: 2.594 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 2.243e-05/0.3392, allocations: 3.984 kB / 0.9561 GB, free: 2.59 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.769e-05/0.3392, allocations: 15.44 kB / 0.9561 GB, free: 2.574 MB / 0.7325 GB Notification: Performance of SimCode: time 2.4e-07/0.3392, allocations: 4.062 kB / 0.9561 GB, free: 2.57 MB / 0.7325 GB Notification: Performance of Templates: time 0.002468/0.3417, allocations: 435.2 kB / 0.9565 GB, free: 2.152 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 -s gbode -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