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.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.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.001328/0.001328, allocations: 108.6 kB / 16.27 MB, free: 6.004 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.001584/0.001584, allocations: 187.4 kB / 17.2 MB, free: 5.617 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.377/1.377, allocations: 222.9 MB / 240.9 MB, free: 15.27 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.246/2.246, allocations: 390.3 MB / 0.6653 GB, free: 0.7148 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00133/0.00133, allocations: 67.42 kB / 0.8132 GB, free: 32.99 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2976/0.299, 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.Exp): time 0.002389/0.3014, allocations: 0.6597 MB / 0.9509 GB, free: 8.184 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001088/0.3025, allocations: 0.8117 MB / 0.9517 GB, free: 7.359 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.369e-05/0.3026, allocations: 0 / 0.9517 GB, free: 7.359 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.967e-05/0.3026, allocations: 3.938 kB / 0.9517 GB, free: 7.355 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 6.094e-05/0.3027, allocations: 7.875 kB / 0.9517 GB, free: 7.348 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001517/0.3029, allocations: 8 kB / 0.9517 GB, free: 7.34 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 7.405e-05/0.303, allocations: 19.98 kB / 0.9518 GB, free: 7.32 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001205/0.3031, allocations: 4 kB / 0.9518 GB, free: 7.316 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 7.81e-05/0.3032, allocations: 19.92 kB / 0.9518 GB, free: 7.297 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 4.081e-05/0.3032, allocations: 7.938 kB / 0.9518 GB, free: 7.289 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.923e-05/0.3033, allocations: 4 kB / 0.9518 GB, free: 7.285 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 1.038e-05/0.3033, allocations: 0 / 0.9518 GB, free: 7.285 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.115e-05/0.3033, allocations: 11.97 kB / 0.9518 GB, free: 7.273 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.304e-05/0.3033, allocations: 7.938 kB / 0.9518 GB, free: 7.266 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 8.085e-05/0.3034, allocations: 19.91 kB / 0.9518 GB, free: 7.246 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.3034, allocations: 0 / 0.9518 GB, free: 7.246 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.654e-06/0.3035, allocations: 0 / 0.9518 GB, free: 7.246 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.092e-06/0.3035, allocations: 0 / 0.9518 GB, free: 7.246 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.0005471/0.304, allocations: 343.8 kB / 0.9522 GB, free: 6.859 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.053e-05/0.3041, allocations: 8.031 kB / 0.9522 GB, free: 6.852 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.525e-05/0.3041, allocations: 0.9375 kB / 0.9522 GB, free: 6.852 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001797/0.3043, allocations: 176.2 kB / 0.9523 GB, free: 6.641 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.566e-05/0.3043, allocations: 384 / 0.9523 GB, free: 6.641 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.119e-05/0.3043, allocations: 384 / 0.9523 GB, free: 6.641 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002052/0.3046, allocations: 52.34 kB / 0.9524 GB, free: 6.586 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.758e-06/0.3046, allocations: 192 / 0.9524 GB, free: 6.586 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.161e-05/0.3046, allocations: 3.938 kB / 0.9524 GB, free: 6.582 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.48e-06/0.3046, allocations: 4 kB / 0.9524 GB, free: 6.578 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001871/0.3048, allocations: 35.91 kB / 0.9524 GB, free: 6.543 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003936/0.3052, allocations: 245 kB / 0.9527 GB, free: 6.254 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001364/0.3053, allocations: 38.5 kB / 0.9527 GB, free: 6.207 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.88e-05/0.3054, allocations: 28.91 kB / 0.9527 GB, free: 6.176 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.075e-05/0.3055, allocations: 0 / 0.9527 GB, free: 6.176 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.84e-05/0.3055, allocations: 34.5 kB / 0.9528 GB, free: 6.133 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=2): time 7.81e-07/0.3055, allocations: 0 / 0.9528 GB, free: 6.133 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2): time 0.00037/0.3059, allocations: 81.64 kB / 0.9528 GB, free: 6.047 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.553e-05/0.3059, allocations: 55.53 kB / 0.9529 GB, free: 5.98 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.569e-05/0.306, allocations: 101.8 kB / 0.953 GB, free: 5.871 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.422e-05/0.3061, allocations: 25.7 kB / 0.953 GB, free: 5.84 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 5.914e-05/0.3061, allocations: 84.14 kB / 0.9531 GB, free: 5.754 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.983e-05/0.3061, allocations: 7.844 kB / 0.9531 GB, free: 5.746 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.008e-05/0.3062, allocations: 13.72 kB / 0.9531 GB, free: 5.727 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.000155/0.3064, allocations: 318.8 kB / 0.9534 GB, free: 5.406 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.65e-05/0.3065, allocations: 15.98 kB / 0.9534 GB, free: 5.391 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.042e-05/0.3065, allocations: 15.98 kB / 0.9535 GB, free: 5.375 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001571/0.3067, allocations: 44.75 kB / 0.9535 GB, free: 5.328 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.3067, allocations: 3.938 kB / 0.9535 GB, free: 5.324 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002069/0.3069, allocations: 69.67 kB / 0.9536 GB, free: 5.25 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.662e-05/0.3069, allocations: 4 kB / 0.9536 GB, free: 5.246 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/0.3069, allocations: 0 / 0.9536 GB, free: 5.246 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.461e-05/0.307, allocations: 192 / 0.9536 GB, free: 5.246 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.227e-05/0.3071, allocations: 11.98 kB / 0.9536 GB, free: 5.234 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.474e-06/0.3071, allocations: 4 kB / 0.9536 GB, free: 5.23 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.765e-05/0.3071, allocations: 7.984 kB / 0.9536 GB, free: 5.223 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.925e-06/0.3071, allocations: 3.984 kB / 0.9536 GB, free: 5.219 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.634e-05/0.3072, allocations: 117.8 kB / 0.9537 GB, free: 5.094 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.817e-05/0.3073, allocations: 7.906 kB / 0.9537 GB, free: 5.086 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002491/0.3075, allocations: 68.72 kB / 0.9538 GB, free: 5.012 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.3075, allocations: 0 / 0.9538 GB, free: 5.012 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.3076, allocations: 0 / 0.9538 GB, free: 5.012 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.3076, allocations: 4 kB / 0.9538 GB, free: 5.008 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001916/0.3078, allocations: 165.6 kB / 0.9539 GB, free: 4.797 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.3078, allocations: 0 / 0.9539 GB, free: 4.797 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.108e-05/0.3078, allocations: 12.02 kB / 0.954 GB, free: 4.785 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.3078, allocations: 0 / 0.954 GB, free: 4.785 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.748e-06/0.3079, allocations: 4 kB / 0.954 GB, free: 4.781 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.3079, allocations: 0 / 0.954 GB, free: 4.781 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.3079, allocations: 0 / 0.954 GB, free: 4.781 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002559/0.3081, allocations: 163.4 kB / 0.9541 GB, free: 4.605 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 5.183e-05/0.3082, allocations: 81.14 kB / 0.9542 GB, free: 4.508 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.453e-05/0.3082, allocations: 0 / 0.9542 GB, free: 4.508 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.729e-05/0.3083, allocations: 11.98 kB / 0.9542 GB, free: 4.496 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.893e-05/0.3083, allocations: 0 / 0.9542 GB, free: 4.496 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.542e-06/0.3083, allocations: 4 kB / 0.9542 GB, free: 4.492 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 4.075e-05/0.3084, allocations: 75.28 kB / 0.9543 GB, free: 4.418 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.754e-06/0.3084, allocations: 0 / 0.9543 GB, free: 4.418 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002132/0.3086, allocations: 7.938 kB / 0.9543 GB, free: 4.41 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.0001838/0.3088, allocations: 107.2 kB / 0.9544 GB, free: 4.297 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0002228/0.309, allocations: 35.97 kB / 0.9544 GB, free: 4.262 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.309, allocations: 0 / 0.9544 GB, free: 4.262 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 8.684e-05/0.3091, allocations: 19.92 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.0003035/0.3095, allocations: 15.86 kB / 0.9545 GB, free: 4.227 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004047/0.3099, allocations: 147.3 kB / 0.9546 GB, free: 4.051 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003006/0.3102, allocations: 0.6766 MB / 0.9553 GB, free: 3.348 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.173e-05/0.3102, allocations: 7.438 kB / 0.9553 GB, free: 3.34 MB / 0.7325 GB Notification: Performance of SimCode: time 3.61e-07/0.3102, allocations: 0 / 0.9553 GB, free: 3.34 MB / 0.7325 GB Notification: Performance of Templates: time 0.002043/0.3123, allocations: 0.5427 MB / 0.9558 GB, free: 2.801 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 -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