Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.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.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assWatMas.mWat_flow|per.mWatMin_flow|runSig.y|assWatMas.assMes.u",fileNamePrefix="Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assWatMas.mWat_flow|per.mWatMin_flow|runSig.y|assWatMas.assMes.u",fileNamePrefix="Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001076/0.001076, allocations: 98.88 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001439/0.001439, allocations: 183.7 kB / 16.92 MB, free: 6.77 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.388/1.388, allocations: 223.3 MB / 241 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.716/2.716, allocations: 462.6 MB / 0.737 GB, free: 15.56 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003465/0.0003465, allocations: 12.78 kB / 0.9034 GB, free: 36.32 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2981/0.2984, allocations: 159.6 MB / 1.059 GB, free: 4.973 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow): time 0.002964/0.3014, allocations: 2.16 MB / 1.061 GB, free: 2.801 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.002483/0.3039, allocations: 1.522 MB / 1.063 GB, free: 1.273 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002075/0.3042, allocations: 3.938 kB / 1.063 GB, free: 1.27 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0009085/0.3051, allocations: 311.5 kB / 1.063 GB, free: 0.9648 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.000492/0.3056, allocations: 191.3 kB / 1.063 GB, free: 0.7773 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007044/0.3063, allocations: 246.5 kB / 1.064 GB, free: 0.5391 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0004863/0.3068, allocations: 374.7 kB / 1.064 GB, free: 176 kB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001723/0.307, allocations: 68.98 kB / 1.064 GB, free: 108 kB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002657/0.3073, allocations: 139.2 kB / 1.064 GB, free: 15.97 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002264/0.3075, allocations: 151.2 kB / 1.064 GB, free: 15.82 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.958e-05/0.3076, allocations: 4 kB / 1.064 GB, free: 15.82 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001849/0.3078, allocations: 63.95 kB / 1.064 GB, free: 15.75 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001324/0.3079, allocations: 123.5 kB / 1.065 GB, free: 15.63 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001874/0.3081, allocations: 196.3 kB / 1.065 GB, free: 15.43 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.000399/0.3085, allocations: 371.1 kB / 1.065 GB, free: 15.07 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.357e-06/0.3085, allocations: 0 / 1.065 GB, free: 15.07 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.322e-06/0.3085, allocations: 4 kB / 1.065 GB, free: 15.07 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.224e-05/0.3085, allocations: 0 / 1.065 GB, free: 15.07 MB / 0.8262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.001173/0.3097, allocations: 0.7639 MB / 1.066 GB, free: 14.25 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.332e-05/0.3098, allocations: 15.97 kB / 1.066 GB, free: 14.23 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001299/0.3099, allocations: 56.19 kB / 1.066 GB, free: 14.18 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005686/0.3105, allocations: 428.9 kB / 1.066 GB, free: 13.72 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.341e-05/0.3105, allocations: 15.88 kB / 1.066 GB, free: 13.7 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.808e-05/0.3106, allocations: 15.98 kB / 1.066 GB, free: 13.69 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002866/0.3109, allocations: 139.9 kB / 1.066 GB, free: 13.54 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.923e-06/0.3109, allocations: 0 / 1.066 GB, free: 13.54 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.687e-05/0.3109, allocations: 0 / 1.066 GB, free: 13.54 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.368e-06/0.3109, allocations: 7.938 kB / 1.066 GB, free: 13.53 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000179/0.3111, allocations: 67.97 kB / 1.067 GB, free: 13.46 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008909/0.312, allocations: 0.5783 MB / 1.067 GB, free: 12.84 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003143/0.3123, allocations: 130.7 kB / 1.067 GB, free: 12.7 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001051/0.3124, allocations: 48.78 kB / 1.067 GB, free: 12.65 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.78e-05/0.3125, allocations: 7.984 kB / 1.067 GB, free: 12.64 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002291/0.3127, allocations: 103.3 kB / 1.067 GB, free: 12.53 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=13): time 1.653e-06/0.3127, allocations: 4 kB / 1.067 GB, free: 12.52 MB / 0.8262 GB Notification: Performance of matching and sorting (n=13): time 0.0005139/0.3133, allocations: 248.6 kB / 1.068 GB, free: 12.28 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.923e-05/0.3133, allocations: 81.05 kB / 1.068 GB, free: 12.18 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001583/0.3149, allocations: 0.6838 MB / 1.068 GB, free: 11.48 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 7.064e-05/0.315, allocations: 29.7 kB / 1.068 GB, free: 11.45 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.000379/0.3154, allocations: 268.2 kB / 1.069 GB, free: 11.18 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 9.854e-05/0.3155, allocations: 35.59 kB / 1.069 GB, free: 11.14 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.562e-05/0.3156, allocations: 29.7 kB / 1.069 GB, free: 11.11 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0002352/0.3159, allocations: 374.8 kB / 1.069 GB, free: 10.73 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002988/0.3162, allocations: 67.97 kB / 1.069 GB, free: 10.67 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003425/0.3166, allocations: 118.6 kB / 1.069 GB, free: 10.54 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004737/0.3171, allocations: 140.5 kB / 1.069 GB, free: 10.39 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.734e-06/0.3171, allocations: 3.938 kB / 1.069 GB, free: 10.39 MB / 0.8262 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.000881/0.318, allocations: 274.8 kB / 1.07 GB, free: 10.11 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.294e-05/0.318, allocations: 4 kB / 1.07 GB, free: 10.11 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.505e-05/0.3181, allocations: 8 kB / 1.07 GB, free: 10.1 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.79e-05/0.3181, allocations: 0 / 1.07 GB, free: 10.1 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002831/0.3184, allocations: 35.92 kB / 1.07 GB, free: 10.07 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.001e-05/0.3184, allocations: 0 / 1.07 GB, free: 10.07 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000376/0.3188, allocations: 31.98 kB / 1.07 GB, free: 10.04 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.932e-05/0.3189, allocations: 8 kB / 1.07 GB, free: 10.03 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 14 ($PRE.runSig.combiTimeTable.nextTimeEvent,$whenCondition2,$PRE.mWat_flow.tab.nextTimeEvent,$whenCondition1,runSig.combiTimeTable.nextTimeEventScaled,$PRE.runSig.combiTimeTable.nextTimeEventScaled,runSig.combiTimeTable.nextTimeEvent,runSig.y,mWat_flow.tab.nextTimeEventScaled,$PRE.mWat_flow.tab.nextTimeEventScaled,mWat_flow.tab.nextTimeEvent,assWatMas.hys.y,$PRE.assWatMas.hys.y,assWatMas.assMes.u) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0003969/0.3193, allocations: 207.5 kB / 1.07 GB, free: 9.816 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001403/0.3194, allocations: 63.19 kB / 1.07 GB, free: 9.754 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001572/0.3196, allocations: 57.03 kB / 1.07 GB, free: 9.695 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.278e-06/0.3196, allocations: 4 kB / 1.07 GB, free: 9.691 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.105e-05/0.3196, allocations: 4 kB / 1.07 GB, free: 9.688 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.969e-06/0.3197, allocations: 3.938 kB / 1.07 GB, free: 9.684 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005887/0.3203, allocations: 369.4 kB / 1.07 GB, free: 9.273 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.841e-06/0.3203, allocations: 3.938 kB / 1.07 GB, free: 9.27 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.332e-05/0.3204, allocations: 8 kB / 1.07 GB, free: 9.262 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.748e-06/0.3204, allocations: 0 / 1.07 GB, free: 9.262 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.439e-05/0.3204, allocations: 7.984 kB / 1.07 GB, free: 9.254 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.375e-06/0.3204, allocations: 0 / 1.07 GB, free: 9.254 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.3204, allocations: 0 / 1.07 GB, free: 9.254 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000618/0.3211, allocations: 224.3 kB / 1.071 GB, free: 9.016 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000187/0.3213, allocations: 132.4 kB / 1.071 GB, free: 8.867 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.106e-05/0.3214, allocations: 3.984 kB / 1.071 GB, free: 8.863 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002485/0.3216, allocations: 19.98 kB / 1.071 GB, free: 8.844 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.652e-05/0.3217, allocations: 11.98 kB / 1.071 GB, free: 8.832 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.911e-05/0.3218, allocations: 11.98 kB / 1.071 GB, free: 8.82 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0009823/0.3228, allocations: 463 kB / 1.071 GB, free: 8.371 MB / 0.8262 GB Notification: Performance of sort global known variables: time 5.51e-07/0.3228, allocations: 4 kB / 1.071 GB, free: 8.367 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0006156/0.3234, allocations: 67.91 kB / 1.071 GB, free: 8.301 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition2,$whenCondition1,assWatMas.assMes.u,assWatMas.hys.y,mWat_flow.tab.nextTimeEvent,mWat_flow.tab.nextTimeEventScaled,runSig.y,runSig.combiTimeTable.nextTimeEvent,runSig.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 5 (runSig.combiTimeTable.nextTimeEventScaled,mWat_flow.tab.nextTimeEventScaled,assWatMas.hys.y,mWat_flow.tab.nextTimeEvent,runSig.combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001853/0.3253, allocations: 433.1 kB / 1.072 GB, free: 8.027 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0006516/0.326, allocations: 151.8 kB / 1.072 GB, free: 7.879 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 4.659e-06/0.326, allocations: 0 / 1.072 GB, free: 7.879 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0002359/0.3262, allocations: 60.98 kB / 1.072 GB, free: 7.82 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009193/0.3272, allocations: 95.5 kB / 1.072 GB, free: 7.73 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002218/0.3294, allocations: 1.014 MB / 1.073 GB, free: 6.676 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007318/0.3302, allocations: 0.869 MB / 1.074 GB, free: 5.777 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001307/0.3303, allocations: 31.42 kB / 1.074 GB, free: 5.75 MB / 0.8262 GB Notification: Performance of SimCode: time 9.12e-07/0.3303, allocations: 0 / 1.074 GB, free: 5.75 MB / 0.8262 GB Notification: Performance of Templates: time 0.01608/0.3464, allocations: 5.709 MB / 1.079 GB, free: 88 kB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.makefile (rm -f Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe ; mkfifo Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe >> ../files/Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.sim & ./Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches