Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.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.0008975/0.0008975, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.001087/0.001087, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.9433/0.9433, allocations: 177.2 MB / 202.8 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.682/1.682, allocations: 359 MB / 0.6037 GB, free: 11.06 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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: "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow,fileNamePrefix="Buildings_11_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertFuelFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow,fileNamePrefix="Buildings_11_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertFuelFlow",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.274e-06/2.274e-06, allocations: 0 / 0.9505 GB, free: 3.465 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.368e-05/2.596e-05, allocations: 10.22 kB / 0.9505 GB, free: 3.453 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow): time 0.003835/0.003861, allocations: 2.222 MB / 0.9527 GB, free: 1.215 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.002159/0.00602, allocations: 1.49 MB / 0.9541 GB, free: 15.72 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001361/0.006156, allocations: 0 / 0.9541 GB, free: 15.72 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.0004785/0.006635, allocations: 187 kB / 0.9543 GB, free: 15.54 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.0003783/0.007013, allocations: 187 kB / 0.9545 GB, free: 15.35 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002586/0.007272, allocations: 127.6 kB / 0.9546 GB, free: 15.23 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.0002654/0.007537, allocations: 282.9 kB / 0.9549 GB, free: 14.95 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001262/0.007663, allocations: 40.83 kB / 0.9549 GB, free: 14.91 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001774/0.007841, allocations: 155.5 kB / 0.9551 GB, free: 14.75 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001347/0.007975, allocations: 91.7 kB / 0.9552 GB, free: 14.66 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 2.67e-05/0.008002, allocations: 20 kB / 0.9552 GB, free: 14.64 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001132/0.008115, allocations: 51.97 kB / 0.9552 GB, free: 14.59 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 8.855e-05/0.008204, allocations: 103.6 kB / 0.9553 GB, free: 14.49 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 7.532e-05/0.008279, allocations: 75.64 kB / 0.9554 GB, free: 14.42 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.0004196/0.008699, allocations: 394.5 kB / 0.9558 GB, free: 14.03 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 2.655e-06/0.008701, allocations: 0 / 0.9558 GB, free: 14.03 MB / 0.9167 GB Notification: Performance of FrontEnd: time 7.52e-07/0.008702, allocations: 3.938 kB / 0.9558 GB, free: 14.03 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 6.462e-06/0.008709, allocations: 0 / 0.9558 GB, free: 14.03 MB / 0.9167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0008653/0.009574, allocations: 0.6552 MB / 0.9564 GB, free: 13.34 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.417e-05/0.009618, allocations: 16.03 kB / 0.9564 GB, free: 13.32 MB / 0.9167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.32e-05/0.009661, allocations: 34.75 kB / 0.9565 GB, free: 13.28 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.471e-05/0.009736, allocations: 52.61 kB / 0.9565 GB, free: 13.23 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000406/0.01014, allocations: 356.6 kB / 0.9569 GB, free: 12.86 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.532e-05/0.01016, allocations: 8.375 kB / 0.9569 GB, free: 12.85 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.179e-05/0.01018, allocations: 4.375 kB / 0.9569 GB, free: 12.85 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001817/0.01036, allocations: 127.5 kB / 0.957 GB, free: 12.71 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.428e-06/0.01037, allocations: 7.938 kB / 0.957 GB, free: 12.7 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.049e-05/0.01038, allocations: 0 / 0.957 GB, free: 12.7 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.01e-06/0.01039, allocations: 0 / 0.957 GB, free: 12.7 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001037/0.01049, allocations: 63.06 kB / 0.9571 GB, free: 12.64 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005345/0.01102, allocations: 439.6 kB / 0.9575 GB, free: 12.17 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001588/0.01118, allocations: 86.67 kB / 0.9576 GB, free: 12.08 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.396e-05/0.01123, allocations: 28.89 kB / 0.9576 GB, free: 12.05 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 1.931e-05/0.01125, allocations: 4 kB / 0.9576 GB, free: 12.04 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001297/0.01138, allocations: 117 kB / 0.9577 GB, free: 11.91 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=9): time 1.233e-06/0.01138, allocations: 8 kB / 0.9577 GB, free: 11.9 MB / 0.9167 GB Notification: Performance of matching and sorting (n=9): time 0.0002831/0.01166, allocations: 177.2 kB / 0.9579 GB, free: 11.72 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.486e-05/0.01169, allocations: 59.34 kB / 0.9579 GB, free: 11.65 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004071/0.0121, allocations: 0.5067 MB / 0.9584 GB, free: 11.13 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 2.037e-05/0.01212, allocations: 29.7 kB / 0.9585 GB, free: 11.1 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001399/0.01226, allocations: 236 kB / 0.9587 GB, free: 10.86 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 2.859e-05/0.01229, allocations: 19.86 kB / 0.9587 GB, free: 10.84 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.628e-05/0.01236, allocations: 57.64 kB / 0.9588 GB, free: 10.78 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001251/0.01248, allocations: 358.8 kB / 0.9591 GB, free: 10.42 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.81e-05/0.01256, allocations: 48.36 kB / 0.9591 GB, free: 10.38 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001156/0.01268, allocations: 106.1 kB / 0.9592 GB, free: 10.26 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000143/0.01282, allocations: 103.3 kB / 0.9593 GB, free: 10.15 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.01282, allocations: 0 / 0.9593 GB, free: 10.15 MB / 0.9167 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002469/0.01307, allocations: 219.2 kB / 0.9596 GB, free: 9.934 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.544e-05/0.01308, allocations: 4 kB / 0.9596 GB, free: 9.93 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.01309, allocations: 0 / 0.9596 GB, free: 9.93 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.422e-05/0.0131, allocations: 4 kB / 0.9596 GB, free: 9.926 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000123/0.01323, allocations: 35.92 kB / 0.9596 GB, free: 9.891 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.151e-06/0.01323, allocations: 4.062 kB / 0.9596 GB, free: 9.887 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.762e-05/0.0133, allocations: 19.92 kB / 0.9596 GB, free: 9.867 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.141e-05/0.01332, allocations: 4 kB / 0.9596 GB, free: 9.863 MB / 0.9167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 7 ($PRE.mFue_flow.tab.nextTimeEvent,$whenCondition1,mFue_flow.tab.nextTimeEventScaled,$PRE.mFue_flow.tab.nextTimeEventScaled,mFue_flow.tab.nextTimeEvent,assFue.hys.y,$PRE.assFue.hys.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 21 * 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.0001437/0.01347, allocations: 189.7 kB / 0.9598 GB, free: 9.668 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.465e-05/0.0135, allocations: 51.61 kB / 0.9599 GB, free: 9.617 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002236/0.01372, allocations: 165.7 kB / 0.96 GB, free: 9.445 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.614e-06/0.01373, allocations: 0 / 0.96 GB, free: 9.445 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/0.01373, allocations: 0 / 0.96 GB, free: 9.445 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.468e-06/0.01374, allocations: 0 / 0.96 GB, free: 9.445 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002074/0.01395, allocations: 276.6 kB / 0.9603 GB, free: 9.133 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.01395, allocations: 0 / 0.9603 GB, free: 9.133 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.394e-05/0.01399, allocations: 12 kB / 0.9603 GB, free: 9.121 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.288e-06/0.01399, allocations: 7.922 kB / 0.9603 GB, free: 9.113 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.929e-06/0.014, allocations: 4 kB / 0.9603 GB, free: 9.109 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.01401, allocations: 0 / 0.9603 GB, free: 9.109 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.01401, allocations: 0 / 0.9603 GB, free: 9.109 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000233/0.01424, allocations: 224.7 kB / 0.9605 GB, free: 8.871 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 3.933e-05/0.01428, allocations: 47.58 kB / 0.9606 GB, free: 8.824 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.513e-05/0.0143, allocations: 8 kB / 0.9606 GB, free: 8.816 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.5e-05/0.01435, allocations: 15.98 kB / 0.9606 GB, free: 8.801 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.014e-05/0.01439, allocations: 11.98 kB / 0.9606 GB, free: 8.789 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.067e-05/0.0144, allocations: 11.98 kB / 0.9606 GB, free: 8.777 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0002576/0.01466, allocations: 358.8 kB / 0.9609 GB, free: 8.43 MB / 0.9167 GB Notification: Performance of sort global known variables: time 6e-08/0.01466, allocations: 192 / 0.9609 GB, free: 8.43 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001943/0.01485, allocations: 47.94 kB / 0.961 GB, free: 8.383 MB / 0.9167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (assFue.floChaRat.x) * Number of discrete variables: 4 ($whenCondition1,assFue.hys.y,mFue_flow.tab.nextTimeEvent,mFue_flow.tab.nextTimeEventScaled) * Number of discrete states: 3 (assFue.hys.y,mFue_flow.tab.nextTimeEvent,mFue_flow.tab.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001113/0.01597, allocations: 1.097 MB / 0.9621 GB, free: 7.438 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001901/0.01616, allocations: 103.8 kB / 0.9622 GB, free: 7.336 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.01616, allocations: 0 / 0.9622 GB, free: 7.336 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 5.775e-05/0.01621, allocations: 43.92 kB / 0.9622 GB, free: 7.293 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002607/0.01648, allocations: 75.09 kB / 0.9623 GB, free: 7.23 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002534/0.01901, allocations: 3.156 MB / 0.9654 GB, free: 3.988 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001398/0.01915, allocations: 220.8 kB / 0.9656 GB, free: 3.75 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 8.109e-05/0.01923, allocations: 33.94 kB / 0.9656 GB, free: 3.719 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001229/0.01935, allocations: 140.4 kB / 0.9657 GB, free: 3.582 MB / 0.9167 GB Notification: Performance of SimCode: time 1.012e-06/0.01935, allocations: 4 kB / 0.9657 GB, free: 3.578 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02077/0.04013, allocations: 8.687 MB / 0.9742 GB, free: 11 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.168/7.208, allocations: 13.53 kB / 0.9742 GB, free: 11 MB / 0.9323 GB " [Timeout remaining time 293] (rm -f Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe ; mkfifo Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe >> ../files/Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertFuelFlow_fmu --startTime=0 --stopTime=1200 --stepSize=0.48 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertFuelFlow.fmu > Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_CHPs_BaseClasses_Validation_AssertFuelFlow.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.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: 11.220739968121052]