Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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.Reals.Validation.Exp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Exp1.u|Exp1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Exp") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Exp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Exp1.u|Exp1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Exp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001148/0.001148, allocations: 108.9 kB / 16.37 MB, free: 6.477 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.001162/0.001162, allocations: 193.1 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.359/1.359, allocations: 222.9 MB / 241 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.511/2.511, allocations: 442.6 MB / 0.7165 GB, free: 14.69 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001703/0.001703, allocations: 72.97 kB / 0.8774 GB, free: 10.97 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3316/0.3333, allocations: 153 MB / 1.027 GB, free: 2.055 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Exp): time 0.002039/0.3354, allocations: 0.6727 MB / 1.027 GB, free: 1.383 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0008925/0.3363, allocations: 0.8024 MB / 1.028 GB, free: 0.5703 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.924e-05/0.3364, allocations: 4 kB / 1.028 GB, free: 0.5664 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 2.731e-05/0.3364, allocations: 0 / 1.028 GB, free: 0.5664 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 6.027e-05/0.3365, allocations: 11.94 kB / 1.028 GB, free: 0.5547 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001338/0.3366, allocations: 3.984 kB / 1.028 GB, free: 0.5508 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 7.089e-05/0.3367, allocations: 31.86 kB / 1.028 GB, free: 0.5195 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 9.982e-05/0.3368, allocations: 4 kB / 1.028 GB, free: 0.5156 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 5.876e-05/0.3369, allocations: 7.984 kB / 1.028 GB, free: 0.5078 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 3.862e-05/0.3369, allocations: 15.92 kB / 1.028 GB, free: 0.4922 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.41e-05/0.3369, allocations: 0 / 1.028 GB, free: 0.4922 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 9.548e-06/0.3369, allocations: 4 kB / 1.028 GB, free: 500 kB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 1.648e-05/0.337, allocations: 4 kB / 1.028 GB, free: 496 kB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 2.981e-05/0.337, allocations: 15.92 kB / 1.028 GB, free: 480 kB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 7.35e-05/0.3371, allocations: 19.91 kB / 1.028 GB, free: 460 kB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 5.651e-06/0.3371, allocations: 4 kB / 1.028 GB, free: 456 kB / 0.795 GB Notification: Performance of FrontEnd: time 1.984e-06/0.3371, allocations: 0 / 1.028 GB, free: 456 kB / 0.795 GB Notification: Performance of Transformations before backend: time 5.601e-06/0.3371, allocations: 0 / 1.028 GB, free: 456 kB / 0.795 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.000418/0.3375, allocations: 327.6 kB / 1.029 GB, free: 76 kB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.701e-05/0.3376, allocations: 12.03 kB / 1.029 GB, free: 64 kB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.854e-05/0.3376, allocations: 4.844 kB / 1.029 GB, free: 60 kB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001237/0.3377, allocations: 172.3 kB / 1.029 GB, free: 15.85 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.276e-06/0.3377, allocations: 4.375 kB / 1.029 GB, free: 15.85 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.108e-05/0.3378, allocations: 4.375 kB / 1.029 GB, free: 15.84 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001663/0.3379, allocations: 50.23 kB / 1.029 GB, free: 15.79 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.346e-06/0.338, allocations: 192 / 1.029 GB, free: 15.79 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.031e-05/0.338, allocations: 3.938 kB / 1.029 GB, free: 15.79 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.009e-06/0.338, allocations: 0 / 1.029 GB, free: 15.79 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001522/0.3381, allocations: 35.95 kB / 1.029 GB, free: 15.75 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003225/0.3385, allocations: 249 kB / 1.029 GB, free: 15.46 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001199/0.3386, allocations: 46.42 kB / 1.029 GB, free: 15.4 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.71e-05/0.3387, allocations: 16.91 kB / 1.029 GB, free: 15.38 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.761e-05/0.3387, allocations: 0 / 1.029 GB, free: 15.38 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.437e-05/0.3387, allocations: 42.56 kB / 1.029 GB, free: 15.33 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.3387, allocations: 0 / 1.029 GB, free: 15.33 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0003379/0.3391, allocations: 81.52 kB / 1.029 GB, free: 15.25 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.343e-05/0.3391, allocations: 55.41 kB / 1.029 GB, free: 15.18 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.19e-05/0.3392, allocations: 101.8 kB / 1.029 GB, free: 15.07 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.185e-05/0.3392, allocations: 25.7 kB / 1.029 GB, free: 15.04 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.485e-05/0.3393, allocations: 88.25 kB / 1.03 GB, free: 14.95 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.618e-05/0.3393, allocations: 7.906 kB / 1.03 GB, free: 14.94 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.224e-05/0.3393, allocations: 13.72 kB / 1.03 GB, free: 14.92 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001035/0.3394, allocations: 310.8 kB / 1.03 GB, free: 14.61 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.8e-05/0.3395, allocations: 19.98 kB / 1.03 GB, free: 14.59 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.698e-05/0.3396, allocations: 15.97 kB / 1.03 GB, free: 14.57 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000145/0.3398, allocations: 40.89 kB / 1.03 GB, free: 14.53 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.3398, allocations: 0 / 1.03 GB, free: 14.53 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001813/0.3399, allocations: 77.44 kB / 1.03 GB, free: 14.45 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.676e-05/0.34, allocations: 8 kB / 1.03 GB, free: 14.44 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.34, allocations: 3.938 kB / 1.03 GB, free: 14.44 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.437e-05/0.34, allocations: 0 / 1.03 GB, free: 14.44 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.914e-05/0.3401, allocations: 7.984 kB / 1.03 GB, free: 14.43 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.181e-06/0.3401, allocations: 8.031 kB / 1.03 GB, free: 14.42 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.248e-05/0.3401, allocations: 0 / 1.03 GB, free: 14.42 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.06e-06/0.3402, allocations: 4 kB / 1.03 GB, free: 14.42 MB / 0.8106 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.319e-05/0.3402, allocations: 117.7 kB / 1.03 GB, free: 14.29 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.286e-05/0.3403, allocations: 0 / 1.03 GB, free: 14.29 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002086/0.3405, allocations: 72.78 kB / 1.03 GB, free: 14.21 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.739e-06/0.3405, allocations: 4.031 kB / 1.03 GB, free: 14.21 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.3405, allocations: 3.938 kB / 1.03 GB, free: 14.2 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.3405, allocations: 0 / 1.03 GB, free: 14.2 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001524/0.3407, allocations: 157.6 kB / 1.03 GB, free: 14 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.3407, allocations: 0 / 1.03 GB, free: 14 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.912e-05/0.3407, allocations: 15.98 kB / 1.03 GB, free: 13.98 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.3408, allocations: 0 / 1.03 GB, free: 13.98 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.882e-06/0.3408, allocations: 0 / 1.03 GB, free: 13.98 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.3408, allocations: 0 / 1.03 GB, free: 13.98 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.3408, allocations: 0 / 1.03 GB, free: 13.98 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002171/0.341, allocations: 167.5 kB / 1.031 GB, free: 13.8 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.574e-05/0.341, allocations: 81.02 kB / 1.031 GB, free: 13.71 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.529e-05/0.3411, allocations: 7.984 kB / 1.031 GB, free: 13.7 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.308e-05/0.3411, allocations: 4 kB / 1.031 GB, free: 13.7 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.051e-05/0.3412, allocations: 0 / 1.031 GB, free: 13.7 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.4e-06/0.3412, allocations: 4.016 kB / 1.031 GB, free: 13.69 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.546e-05/0.3412, allocations: 87.28 kB / 1.031 GB, free: 13.61 MB / 0.8106 GB Notification: Performance of sort global known variables: time 2.054e-06/0.3412, allocations: 0 / 1.031 GB, free: 13.61 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002135/0.3415, allocations: 7.938 kB / 1.031 GB, free: 13.6 MB / 0.8106 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.0001314/0.3416, allocations: 99.19 kB / 1.031 GB, free: 13.49 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001997/0.3418, allocations: 39.95 kB / 1.031 GB, free: 13.45 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.3418, allocations: 4.062 kB / 1.031 GB, free: 13.45 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 7.848e-05/0.3419, allocations: 19.98 kB / 1.031 GB, free: 13.43 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002766/0.3422, allocations: 7.875 kB / 1.031 GB, free: 13.42 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003278/0.3425, allocations: 101.6 kB / 1.031 GB, free: 13.3 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000239/0.3428, allocations: 0.6768 MB / 1.032 GB, free: 12.59 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 2.357e-05/0.3428, allocations: 3.938 kB / 1.032 GB, free: 12.59 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.406e-05/0.3428, allocations: 19.44 kB / 1.032 GB, free: 12.57 MB / 0.8106 GB Notification: Performance of SimCode: time 2.31e-07/0.3428, allocations: 0 / 1.032 GB, free: 12.57 MB / 0.8106 GB Notification: Performance of Templates: time 0.002321/0.3452, allocations: 427.6 kB / 1.032 GB, free: 12.16 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Exp -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Exp_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Exp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches