Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.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.Add,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|add1.u1|add1.u2|add1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Add") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Add,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|add1.u1|add1.u2|add1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Add") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001139/0.001139, allocations: 106.7 kB / 16.41 MB, free: 6.508 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.001271/0.001271, allocations: 187 kB / 17.34 MB, free: 5.742 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.361/1.361, allocations: 222.9 MB / 241 MB, free: 15.15 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.267/2.267, allocations: 390.2 MB / 0.6655 GB, free: 0.6797 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001423/0.001423, allocations: 63.91 kB / 0.9516 GB, free: 7.605 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9181/0.9196, allocations: 140.4 MB / 1.089 GB, free: 5.52 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Add): time 0.001906/0.9215, allocations: 0.6964 MB / 1.089 GB, free: 5.078 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0009377/0.9225, allocations: 0.798 MB / 1.09 GB, free: 4.473 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.103e-05/0.9226, allocations: 0 / 1.09 GB, free: 4.473 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.243e-05/0.9226, allocations: 3.938 kB / 1.09 GB, free: 4.469 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 6.544e-05/0.9227, allocations: 7.203 kB / 1.09 GB, free: 4.465 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 6.269e-05/0.9227, allocations: 13.75 kB / 1.09 GB, free: 4.457 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 8.518e-05/0.9228, allocations: 43.05 kB / 1.09 GB, free: 4.438 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001242/0.923, allocations: 10.53 kB / 1.09 GB, free: 4.434 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 7.409e-05/0.923, allocations: 21.23 kB / 1.09 GB, free: 4.422 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 5.202e-05/0.9231, allocations: 23.25 kB / 1.09 GB, free: 4.41 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.839e-05/0.9231, allocations: 3.188 kB / 1.09 GB, free: 4.41 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 9.318e-06/0.9231, allocations: 4.094 kB / 1.09 GB, free: 4.41 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.737e-05/0.9232, allocations: 7.062 kB / 1.09 GB, free: 4.406 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.068e-05/0.9232, allocations: 21.56 kB / 1.09 GB, free: 4.391 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 9.939e-05/0.9233, allocations: 45.7 kB / 1.09 GB, free: 4.371 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.9233, allocations: 4.781 kB / 1.09 GB, free: 4.367 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.443e-06/0.9233, allocations: 0 / 1.09 GB, free: 4.367 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.971e-06/0.9233, allocations: 1.094 kB / 1.09 GB, free: 4.367 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004858/0.9238, allocations: 360.3 kB / 1.091 GB, free: 4.004 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.983e-05/0.9239, allocations: 9.125 kB / 1.091 GB, free: 4.004 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.852e-05/0.9239, allocations: 8.516 kB / 1.091 GB, free: 4 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.986e-05/0.924, allocations: 166 kB / 1.091 GB, free: 3.805 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.306e-06/0.924, allocations: 4.375 kB / 1.091 GB, free: 3.801 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.213e-05/0.924, allocations: 3.062 kB / 1.091 GB, free: 3.801 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002402/0.9243, allocations: 75.73 kB / 1.091 GB, free: 3.754 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.343e-06/0.9243, allocations: 1.25 kB / 1.091 GB, free: 3.754 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.403e-05/0.9243, allocations: 8.438 kB / 1.091 GB, free: 3.746 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.49e-06/0.9243, allocations: 1.125 kB / 1.091 GB, free: 3.746 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002911/0.9246, allocations: 66.52 kB / 1.091 GB, free: 3.734 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003261/0.9249, allocations: 265.4 kB / 1.091 GB, free: 3.453 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002019/0.9251, allocations: 67.39 kB / 1.091 GB, free: 3.41 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001652/0.9253, allocations: 44.78 kB / 1.091 GB, free: 3.395 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.448e-05/0.9253, allocations: 0 / 1.091 GB, free: 3.395 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.718e-05/0.9254, allocations: 36.05 kB / 1.091 GB, free: 3.352 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=3): time 7.42e-07/0.9254, allocations: 0 / 1.091 GB, free: 3.352 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3): time 0.00056/0.9259, allocations: 128.9 kB / 1.092 GB, free: 3.305 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.472e-05/0.926, allocations: 51.92 kB / 1.092 GB, free: 3.242 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.537e-05/0.926, allocations: 107.5 kB / 1.092 GB, free: 3.141 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 8.757e-06/0.9261, allocations: 26.77 kB / 1.092 GB, free: 3.109 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.122e-05/0.9261, allocations: 86.48 kB / 1.092 GB, free: 3.023 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.147e-05/0.9261, allocations: 19.27 kB / 1.092 GB, free: 3.008 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.139e-05/0.9262, allocations: 20.41 kB / 1.092 GB, free: 2.984 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.998e-05/0.9262, allocations: 313.4 kB / 1.092 GB, free: 2.672 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001514/0.9264, allocations: 35.17 kB / 1.092 GB, free: 2.664 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001354/0.9265, allocations: 31.05 kB / 1.092 GB, free: 2.66 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002662/0.9268, allocations: 66 kB / 1.092 GB, free: 2.645 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.9268, allocations: 9.594 kB / 1.092 GB, free: 2.637 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003133/0.9271, allocations: 93.8 kB / 1.092 GB, free: 2.598 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.641e-05/0.9271, allocations: 5.125 kB / 1.092 GB, free: 2.598 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.9272, allocations: 0 / 1.092 GB, free: 2.598 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.486e-05/0.9272, allocations: 1.281 kB / 1.092 GB, free: 2.598 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000128/0.9273, allocations: 18.89 kB / 1.092 GB, free: 2.594 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.993e-06/0.9273, allocations: 9.438 kB / 1.092 GB, free: 2.586 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.779e-05/0.9274, allocations: 11.84 kB / 1.092 GB, free: 2.586 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.074e-06/0.9274, allocations: 0.9688 kB / 1.092 GB, free: 2.586 MB / 0.8575 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 (3): * Single equations (assignments): 3 * 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 5.416e-05/0.9275, allocations: 116.3 kB / 1.093 GB, free: 2.465 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.927e-05/0.9275, allocations: 6.016 kB / 1.093 GB, free: 2.461 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.889e-05/0.9276, allocations: 14.14 kB / 1.093 GB, free: 2.445 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.9276, allocations: 0.9688 kB / 1.093 GB, free: 2.445 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.9276, allocations: 0 / 1.093 GB, free: 2.445 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.9276, allocations: 4.797 kB / 1.093 GB, free: 2.441 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001351/0.9277, allocations: 166.6 kB / 1.093 GB, free: 2.246 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.41e-07/0.9277, allocations: 0.75 kB / 1.093 GB, free: 2.246 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.858e-05/0.9278, allocations: 19.91 kB / 1.093 GB, free: 2.242 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.9278, allocations: 0 / 1.093 GB, free: 2.242 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.307e-06/0.9278, allocations: 1.047 kB / 1.093 GB, free: 2.242 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.294e-06/0.9279, allocations: 4.938 kB / 1.093 GB, free: 2.238 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/0.9279, allocations: 0.5625 kB / 1.093 GB, free: 2.238 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003418/0.9282, allocations: 201.3 kB / 1.093 GB, free: 2.086 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.676e-05/0.9282, allocations: 87.2 kB / 1.093 GB, free: 1.984 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.563e-05/0.9283, allocations: 1.594 kB / 1.093 GB, free: 1.984 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001036/0.9284, allocations: 14.88 kB / 1.093 GB, free: 1.98 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.873e-05/0.9284, allocations: 4.156 kB / 1.093 GB, free: 1.98 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.969e-06/0.9284, allocations: 1.438 kB / 1.093 GB, free: 1.98 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.21e-05/0.9285, allocations: 91.34 kB / 1.093 GB, free: 1.898 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.21e-07/0.9285, allocations: 0 / 1.093 GB, free: 1.898 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002165/0.9287, allocations: 6.344 kB / 1.093 GB, free: 1.898 MB / 0.8575 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 (3): * Single equations (assignments): 3 * 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.0001368/0.9288, allocations: 100.2 kB / 1.093 GB, free: 1.812 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0003606/0.9292, allocations: 70.77 kB / 1.093 GB, free: 1.801 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.9292, allocations: 0 / 1.093 GB, free: 1.801 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.000157/0.9294, allocations: 38.14 kB / 1.093 GB, free: 1.793 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000329/0.9297, allocations: 13.27 kB / 1.093 GB, free: 1.785 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003456/0.9301, allocations: 148.3 kB / 1.093 GB, free: 1.641 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001174/0.9302, allocations: 0.6848 MB / 1.094 GB, free: 0.9414 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.607e-05/0.9302, allocations: 9.656 kB / 1.094 GB, free: 0.9375 MB / 0.8575 GB Notification: Performance of SimCode: time 2.3e-07/0.9302, allocations: 0 / 1.094 GB, free: 0.9375 MB / 0.8575 GB Notification: Performance of Templates: time 0.002533/0.9328, allocations: 0.7444 MB / 1.095 GB, free: 0.8945 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Add -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Add_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_Add.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches