Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001544/0.001544, allocations: 78.64 kB / 19.18 MB, free: 2.527 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001783/0.001783, allocations: 166.9 kB / 22.46 MB, free: 5.359 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.571/1.571, allocations: 177.1 MB / 202.8 MB, free: 9.18 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 3.125/3.125, allocations: 377.8 MB / 0.6221 GB, free: 12.61 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|assWatMas.mWat_flow|per.mWatMin_flow|runSig.y|assWatMas.assMes.u",fileNamePrefix="Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|assWatMas.mWat_flow|per.mWatMin_flow|runSig.y|assWatMas.assMes.u",fileNamePrefix="Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.245e-06/2.245e-06, allocations: 0 / 0.9814 GB, free: 11.98 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.209e-05/3.434e-05, allocations: 6.219 kB / 0.9814 GB, free: 11.97 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow): time 0.004683/0.004717, allocations: 2.419 MB / 0.9838 GB, free: 9.539 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.003304/0.008021, allocations: 1.622 MB / 0.9854 GB, free: 7.91 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002152/0.008236, allocations: 8 kB / 0.9854 GB, free: 7.902 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.001202/0.009438, allocations: 322.6 kB / 0.9857 GB, free: 7.586 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0007369/0.01017, allocations: 269.9 kB / 0.986 GB, free: 7.324 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007212/0.0109, allocations: 215.2 kB / 0.9862 GB, free: 7.113 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0006274/0.01152, allocations: 422.5 kB / 0.9866 GB, free: 6.699 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002064/0.01173, allocations: 56.83 kB / 0.9866 GB, free: 6.645 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003487/0.01208, allocations: 219.4 kB / 0.9868 GB, free: 6.43 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002666/0.01235, allocations: 143.6 kB / 0.987 GB, free: 6.289 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 6.374e-05/0.01241, allocations: 20 kB / 0.987 GB, free: 6.27 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002551/0.01266, allocations: 87.88 kB / 0.9871 GB, free: 6.184 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0001969/0.01286, allocations: 139.5 kB / 0.9872 GB, free: 6.047 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001748/0.01304, allocations: 103.6 kB / 0.9873 GB, free: 5.945 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0007708/0.01381, allocations: 0.5021 MB / 0.9878 GB, free: 5.441 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.01381, allocations: 0 / 0.9878 GB, free: 5.441 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.292e-06/0.01381, allocations: 0 / 0.9878 GB, free: 5.441 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 8.035e-06/0.01382, allocations: 0 / 0.9878 GB, free: 5.441 MB / 0.9356 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.001525/0.01535, allocations: 0.7851 MB / 0.9886 GB, free: 4.617 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.502e-05/0.01539, allocations: 8.031 kB / 0.9886 GB, free: 4.609 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001306/0.01552, allocations: 64.55 kB / 0.9886 GB, free: 4.547 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007092/0.01623, allocations: 378.7 kB / 0.989 GB, free: 4.148 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.875e-05/0.01626, allocations: 16.5 kB / 0.989 GB, free: 4.133 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.872e-05/0.01629, allocations: 12.36 kB / 0.989 GB, free: 4.121 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003255/0.01661, allocations: 147.3 kB / 0.9892 GB, free: 3.965 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.878e-06/0.01662, allocations: 0 / 0.9892 GB, free: 3.965 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.023e-05/0.01664, allocations: 4 kB / 0.9892 GB, free: 3.961 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.184e-06/0.01665, allocations: 4 kB / 0.9892 GB, free: 3.957 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001937/0.01685, allocations: 71.95 kB / 0.9892 GB, free: 3.887 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009698/0.01782, allocations: 0.504 MB / 0.9897 GB, free: 3.352 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000361/0.01818, allocations: 126.7 kB / 0.9898 GB, free: 3.219 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001223/0.0183, allocations: 44.84 kB / 0.9899 GB, free: 3.172 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.824e-05/0.01833, allocations: 4 kB / 0.9899 GB, free: 3.168 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003247/0.01865, allocations: 137 kB / 0.99 GB, free: 3.016 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=13): time 1.753e-06/0.01865, allocations: 4 kB / 0.99 GB, free: 3.012 MB / 0.9356 GB Notification: Performance of matching and sorting (n=13): time 0.0006518/0.01931, allocations: 249.2 kB / 0.9903 GB, free: 2.762 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.981e-05/0.01936, allocations: 55.41 kB / 0.9903 GB, free: 2.695 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009478/0.02031, allocations: 0.7073 MB / 0.991 GB, free: 1.98 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 3.494e-05/0.02035, allocations: 29.7 kB / 0.991 GB, free: 1.945 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003007/0.02065, allocations: 268.4 kB / 0.9913 GB, free: 1.68 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 5.529e-05/0.0207, allocations: 43.72 kB / 0.9913 GB, free: 1.637 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001116/0.02082, allocations: 57.64 kB / 0.9914 GB, free: 1.574 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0002414/0.02106, allocations: 382.7 kB / 0.9918 GB, free: 1.191 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001732/0.02123, allocations: 71.97 kB / 0.9918 GB, free: 1.121 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000247/0.02148, allocations: 170.3 kB / 0.992 GB, free: 0.9297 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003169/0.02179, allocations: 148.3 kB / 0.9921 GB, free: 0.7773 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.518e-06/0.0218, allocations: 4 kB / 0.9921 GB, free: 0.7734 MB / 0.9356 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005082/0.02231, allocations: 275.2 kB / 0.9924 GB, free: 0.5 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.877e-05/0.02233, allocations: 8 kB / 0.9924 GB, free: 0.4922 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.02233, allocations: 0 / 0.9924 GB, free: 0.4922 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.689e-05/0.02235, allocations: 0 / 0.9924 GB, free: 0.4922 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001904/0.02254, allocations: 39.91 kB / 0.9924 GB, free: 464 kB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.778e-06/0.02255, allocations: 4 kB / 0.9924 GB, free: 460 kB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001662/0.02271, allocations: 27.94 kB / 0.9925 GB, free: 432 kB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.861e-05/0.02274, allocations: 8 kB / 0.9925 GB, free: 424 kB / 0.9356 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.0002804/0.02302, allocations: 211.7 kB / 0.9927 GB, free: 204 kB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.791e-05/0.02311, allocations: 63.58 kB / 0.9927 GB, free: 140 kB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005316/0.02364, allocations: 214.8 kB / 0.9929 GB, free: 15.92 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.563e-06/0.02365, allocations: 4 kB / 0.9929 GB, free: 15.91 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.953e-06/0.02366, allocations: 3.938 kB / 0.9929 GB, free: 15.91 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.37e-06/0.02366, allocations: 4 kB / 0.993 GB, free: 15.91 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003715/0.02403, allocations: 297.1 kB / 0.9932 GB, free: 15.59 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.02403, allocations: 0 / 0.9932 GB, free: 15.59 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.13e-05/0.02409, allocations: 8 kB / 0.9932 GB, free: 15.58 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/0.02409, allocations: 4 kB / 0.9932 GB, free: 15.57 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.876e-05/0.02411, allocations: 11.92 kB / 0.9933 GB, free: 15.56 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.02411, allocations: 3.938 kB / 0.9933 GB, free: 15.56 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.02411, allocations: 0 / 0.9933 GB, free: 15.56 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004461/0.02456, allocations: 247.4 kB / 0.9935 GB, free: 15.3 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 9.087e-05/0.02465, allocations: 55.55 kB / 0.9936 GB, free: 15.25 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.743e-05/0.0247, allocations: 8 kB / 0.9936 GB, free: 15.24 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001223/0.02483, allocations: 15.98 kB / 0.9936 GB, free: 15.22 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.24e-05/0.0249, allocations: 15.97 kB / 0.9936 GB, free: 15.21 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.183e-05/0.02492, allocations: 11.94 kB / 0.9936 GB, free: 15.2 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0006194/0.02554, allocations: 483 kB / 0.9941 GB, free: 14.73 MB / 0.9512 GB Notification: Performance of sort global known variables: time 9e-08/0.02554, allocations: 4 kB / 0.9941 GB, free: 14.73 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0003357/0.02588, allocations: 63.94 kB / 0.9941 GB, free: 14.66 MB / 0.9512 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 (assWatMas.hys.y,mWat_flow.tab.nextTimeEvent,runSig.combiTimeTable.nextTimeEvent,mWat_flow.tab.nextTimeEventScaled,runSig.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 11 * 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.001834/0.02771, allocations: 468 kB / 0.9946 GB, free: 14.39 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.000405/0.02812, allocations: 151.9 kB / 0.9947 GB, free: 14.24 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 3.267e-06/0.02812, allocations: 0 / 0.9947 GB, free: 14.24 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0001531/0.02827, allocations: 59.91 kB / 0.9948 GB, free: 14.18 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005649/0.02884, allocations: 98.95 kB / 0.9949 GB, free: 14.09 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001475/0.03031, allocations: 0.8577 MB / 0.9957 GB, free: 13.2 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000315/0.03063, allocations: 262.7 kB / 0.996 GB, free: 12.92 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0001279/0.03075, allocations: 46.95 kB / 0.996 GB, free: 12.88 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.911e-05/0.03085, allocations: 36.48 kB / 0.996 GB, free: 12.84 MB / 0.9512 GB Notification: Performance of SimCode: time 3.2e-07/0.03085, allocations: 4 kB / 0.996 GB, free: 12.84 MB / 0.9512 GB Notification: Performance of Templates: time 0.01145/0.0423, allocations: 4.57 MB / 1.001 GB, free: 8.352 MB / 0.9512 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe ; mkfifo Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe >> ../files/Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.sim & ./Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterFlow.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.06575332954526]