Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001778/0.001778, allocations: 97.92 kB / 19.73 MB, free: 2.133 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.002823/0.002823, allocations: 215.9 kB / 23.03 MB, free: 4.949 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.47/1.47, allocations: 230.6 MB / 256.8 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.157/3.157, allocations: 0.49 GB / 0.7959 GB, free: 35.55 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow,fileNamePrefix="Buildings_12_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertFuelFlow",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow,fileNamePrefix="Buildings_12_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertFuelFlow",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001949/0.001949, allocations: 63.84 kB / 1.155 GB, free: 25.45 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3282/0.3301, allocations: 176.1 MB / 1.327 GB, free: 1.516 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow): time 0.003824/0.334, allocations: 2.227 MB / 1.329 GB, free: 15.29 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.002512/0.3365, allocations: 1.498 MB / 1.33 GB, free: 13.78 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001256/0.3366, allocations: 0 / 1.33 GB, free: 13.78 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0005937/0.3372, allocations: 175.1 kB / 1.33 GB, free: 13.61 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0004528/0.3377, allocations: 179.2 kB / 1.331 GB, free: 13.43 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003272/0.338, allocations: 139.6 kB / 1.331 GB, free: 13.3 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.000386/0.3384, allocations: 283 kB / 1.331 GB, free: 13.02 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001402/0.3385, allocations: 28.92 kB / 1.331 GB, free: 12.98 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001622/0.3387, allocations: 115.5 kB / 1.331 GB, free: 12.87 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001889/0.3389, allocations: 123.4 kB / 1.331 GB, free: 12.75 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.657e-05/0.3389, allocations: 12 kB / 1.331 GB, free: 12.74 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001329/0.339, allocations: 59.97 kB / 1.331 GB, free: 12.68 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001312/0.3392, allocations: 107.5 kB / 1.331 GB, free: 12.57 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001202/0.3393, allocations: 107.2 kB / 1.332 GB, free: 12.47 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0005161/0.3398, allocations: 414 kB / 1.332 GB, free: 12.06 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.3398, allocations: 0 / 1.332 GB, free: 12.06 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.613e-06/0.3398, allocations: 0 / 1.332 GB, free: 12.06 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.352e-06/0.3398, allocations: 3.938 kB / 1.332 GB, free: 12.06 MB / 1.029 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.001025/0.3408, allocations: 0.6475 MB / 1.333 GB, free: 11.38 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.408e-05/0.3409, allocations: 8.031 kB / 1.333 GB, free: 11.37 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.451e-05/0.3409, allocations: 8.188 kB / 1.333 GB, free: 11.36 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.041e-05/0.3409, allocations: 42.73 kB / 1.333 GB, free: 11.31 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.656e-05/0.341, allocations: 52.61 kB / 1.333 GB, free: 11.26 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005227/0.3415, allocations: 354.7 kB / 1.333 GB, free: 10.89 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.574e-05/0.3415, allocations: 11.92 kB / 1.333 GB, free: 10.88 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.133e-05/0.3416, allocations: 12 kB / 1.333 GB, free: 10.87 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002332/0.3418, allocations: 119.3 kB / 1.333 GB, free: 10.74 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.515e-06/0.3418, allocations: 0 / 1.333 GB, free: 10.74 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.602e-05/0.3418, allocations: 8 kB / 1.333 GB, free: 10.73 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.697e-06/0.3418, allocations: 0 / 1.333 GB, free: 10.73 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001368/0.342, allocations: 59.91 kB / 1.333 GB, free: 10.67 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008041/0.3428, allocations: 459.5 kB / 1.334 GB, free: 10.18 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003856/0.3432, allocations: 106.7 kB / 1.334 GB, free: 10.07 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.443e-05/0.3432, allocations: 28.84 kB / 1.334 GB, free: 10.04 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.837e-05/0.3433, allocations: 4 kB / 1.334 GB, free: 10.03 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002099/0.3435, allocations: 113.1 kB / 1.334 GB, free: 9.902 MB / 1.029 GB Notification: Performance of pre-optimization done (n=9): time 1.483e-06/0.3435, allocations: 4 kB / 1.334 GB, free: 9.898 MB / 1.029 GB Notification: Performance of matching and sorting (n=9): time 0.0004233/0.3439, allocations: 185.2 kB / 1.334 GB, free: 9.711 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.15e-05/0.3439, allocations: 55.41 kB / 1.334 GB, free: 9.645 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005983/0.3445, allocations: 0.5107 MB / 1.335 GB, free: 9.121 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.683e-05/0.3446, allocations: 33.7 kB / 1.335 GB, free: 9.082 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.000187/0.3448, allocations: 220 kB / 1.335 GB, free: 8.863 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.044e-05/0.3448, allocations: 35.72 kB / 1.335 GB, free: 8.828 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.338e-05/0.3449, allocations: 49.64 kB / 1.335 GB, free: 8.773 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001783/0.3451, allocations: 362.8 kB / 1.335 GB, free: 8.41 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000123/0.3452, allocations: 47.98 kB / 1.335 GB, free: 8.363 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001559/0.3453, allocations: 105 kB / 1.335 GB, free: 8.246 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002129/0.3456, allocations: 115.2 kB / 1.336 GB, free: 8.129 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.3456, allocations: 0 / 1.336 GB, free: 8.129 MB / 1.029 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003716/0.3459, allocations: 218 kB / 1.336 GB, free: 7.91 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.249e-05/0.3459, allocations: 4 kB / 1.336 GB, free: 7.906 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.837e-06/0.3459, allocations: 0 / 1.336 GB, free: 7.906 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.172e-05/0.346, allocations: 0 / 1.336 GB, free: 7.906 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001818/0.3461, allocations: 43.91 kB / 1.336 GB, free: 7.863 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.681e-06/0.3461, allocations: 4.062 kB / 1.336 GB, free: 7.859 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001275/0.3463, allocations: 15.95 kB / 1.336 GB, free: 7.844 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.566e-05/0.3463, allocations: 7.984 kB / 1.336 GB, free: 7.836 MB / 1.029 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.0001987/0.3465, allocations: 187.7 kB / 1.336 GB, free: 7.645 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.789e-05/0.3466, allocations: 47.67 kB / 1.336 GB, free: 7.598 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000337/0.3469, allocations: 169.9 kB / 1.336 GB, free: 7.422 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.528e-06/0.3469, allocations: 4 kB / 1.336 GB, free: 7.418 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.566e-06/0.3469, allocations: 3.938 kB / 1.336 GB, free: 7.414 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.3469, allocations: 0 / 1.336 GB, free: 7.414 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002979/0.3472, allocations: 292.5 kB / 1.336 GB, free: 7.086 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.3472, allocations: 0 / 1.336 GB, free: 7.086 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.355e-05/0.3473, allocations: 11.94 kB / 1.336 GB, free: 7.074 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.911e-06/0.3473, allocations: 4 kB / 1.337 GB, free: 7.07 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.219e-05/0.3473, allocations: 0 / 1.337 GB, free: 7.07 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.3473, allocations: 0 / 1.337 GB, free: 7.07 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.3473, allocations: 0 / 1.337 GB, free: 7.07 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004629/0.3478, allocations: 240.6 kB / 1.337 GB, free: 6.816 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 5.588e-05/0.3478, allocations: 35.75 kB / 1.337 GB, free: 6.781 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.202e-05/0.3479, allocations: 4 kB / 1.337 GB, free: 6.777 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.794e-05/0.348, allocations: 12.05 kB / 1.337 GB, free: 6.766 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.909e-05/0.348, allocations: 11.98 kB / 1.337 GB, free: 6.754 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.305e-05/0.348, allocations: 4 kB / 1.337 GB, free: 6.75 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0004052/0.3484, allocations: 366.8 kB / 1.337 GB, free: 6.395 MB / 1.029 GB Notification: Performance of sort global known variables: time 1e-07/0.3484, allocations: 0 / 1.337 GB, free: 6.395 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002809/0.3487, allocations: 51.89 kB / 1.337 GB, free: 6.344 MB / 1.029 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.00225/0.3509, allocations: 1.107 MB / 1.338 GB, free: 5.391 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002882/0.3512, allocations: 117.1 kB / 1.338 GB, free: 5.277 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.3512, allocations: 3.938 kB / 1.338 GB, free: 5.273 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001065/0.3513, allocations: 39.97 kB / 1.338 GB, free: 5.234 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004375/0.3518, allocations: 78.77 kB / 1.339 GB, free: 5.168 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004089/0.3559, allocations: 3.2 MB / 1.342 GB, free: 1.879 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002325/0.3561, allocations: 220.8 kB / 1.342 GB, free: 1.641 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001157/0.3562, allocations: 29.94 kB / 1.342 GB, free: 1.613 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001948/0.3564, allocations: 135.4 kB / 1.342 GB, free: 1.484 MB / 1.029 GB Notification: Performance of SimCode: time 6.41e-07/0.3564, allocations: 0 / 1.342 GB, free: 1.484 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03303/0.3894, allocations: 8.304 MB / 1.35 GB, free: 9.316 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.79/12.18, allocations: 5.281 kB / 1.35 GB, free: 9.316 MB / 1.045 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe ; mkfifo Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe >> ../files/Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertFuelFlow_fmu --startTime=0 --stopTime=1200 --stepSize=0.48 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertFuelFlow.fmu > Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_CHPs_BaseClasses_Validation_AssertFuelFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 18.95604092895519]