Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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: "" <> buildModelFMU(Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom,fileNamePrefix="Buildings_9_Buildings_Occupants_Residential_AirConditioning_Validation_Ren2014ACBedroom",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom,fileNamePrefix="Buildings_9_Buildings_Occupants_Residential_AirConditioning_Validation_Ren2014ACBedroom",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001119/0.001119, allocations: 108 kB / 15.6 MB, free: 132 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.001096/0.001096, allocations: 194.7 kB / 16.53 MB, free: 6.391 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.341/1.341, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.342/2.342, allocations: 390.2 MB / 0.6647 GB, free: 424 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001442/0.001442, allocations: 63.91 kB / 0.8126 GB, free: 14.34 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6069/0.6083, allocations: 140.4 MB / 0.9497 GB, free: 9.324 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom): time 0.002342/0.6107, allocations: 1.499 MB / 0.9512 GB, free: 8.141 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00121/0.6119, allocations: 0.8237 MB / 0.952 GB, free: 7.5 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.343e-05/0.612, allocations: 1.094 kB / 0.952 GB, free: 7.5 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.672e-05/0.612, allocations: 15.8 kB / 0.952 GB, free: 7.484 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.257e-05/0.6121, allocations: 13.2 kB / 0.952 GB, free: 7.473 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005211/0.6126, allocations: 151.7 kB / 0.9522 GB, free: 7.367 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 9.83e-05/0.6127, allocations: 85.42 kB / 0.9522 GB, free: 7.32 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.294e-05/0.6128, allocations: 23.03 kB / 0.9523 GB, free: 7.305 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.23e-05/0.6129, allocations: 47 kB / 0.9523 GB, free: 7.273 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.81e-05/0.613, allocations: 44.73 kB / 0.9523 GB, free: 7.242 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.115e-05/0.613, allocations: 7.875 kB / 0.9524 GB, free: 7.242 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002051/0.6132, allocations: 127 kB / 0.9525 GB, free: 7.18 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.493e-05/0.6133, allocations: 27.28 kB / 0.9525 GB, free: 7.156 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.18e-05/0.6133, allocations: 32.92 kB / 0.9525 GB, free: 7.133 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002211/0.6135, allocations: 178 kB / 0.9527 GB, free: 7.02 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.808e-06/0.6135, allocations: 4 kB / 0.9527 GB, free: 7.016 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.193e-06/0.6136, allocations: 1.281 kB / 0.9527 GB, free: 7.016 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.569e-06/0.6136, allocations: 0 / 0.9527 GB, free: 7.016 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005979/0.6142, allocations: 481 kB / 0.9532 GB, free: 6.531 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.511e-05/0.6142, allocations: 9.688 kB / 0.9532 GB, free: 6.531 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.785e-05/0.6142, allocations: 35.69 kB / 0.9532 GB, free: 6.488 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.571e-05/0.6143, allocations: 9.594 kB / 0.9532 GB, free: 6.484 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.491e-05/0.6144, allocations: 185.2 kB / 0.9534 GB, free: 6.27 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.061e-05/0.6144, allocations: 3.562 kB / 0.9534 GB, free: 6.27 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.002e-05/0.6144, allocations: 8.562 kB / 0.9534 GB, free: 6.266 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000198/0.6146, allocations: 87.86 kB / 0.9535 GB, free: 6.199 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.504e-06/0.6146, allocations: 0 / 0.9535 GB, free: 6.199 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.436e-05/0.6147, allocations: 1.406 kB / 0.9535 GB, free: 6.199 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.068e-06/0.6147, allocations: 0 / 0.9535 GB, free: 6.199 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001567/0.6148, allocations: 50.61 kB / 0.9535 GB, free: 6.176 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004308/0.6153, allocations: 329.7 kB / 0.9539 GB, free: 5.836 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001986/0.6155, allocations: 80.25 kB / 0.9539 GB, free: 5.785 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001099/0.6156, allocations: 45.47 kB / 0.954 GB, free: 5.758 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.018e-05/0.6156, allocations: 1.344 kB / 0.954 GB, free: 5.758 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001939/0.6158, allocations: 92.77 kB / 0.9541 GB, free: 5.68 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=8): time 2.224e-06/0.6158, allocations: 96 / 0.9541 GB, free: 5.68 MB / 0.7169 GB Notification: Performance of matching and sorting (n=8): time 0.0004699/0.6163, allocations: 191.6 kB / 0.9542 GB, free: 5.574 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.59e-05/0.6163, allocations: 61.73 kB / 0.9543 GB, free: 5.504 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.739e-05/0.6164, allocations: 138.2 kB / 0.9544 GB, free: 5.375 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.191e-05/0.6164, allocations: 30.98 kB / 0.9545 GB, free: 5.34 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.358e-05/0.6165, allocations: 90.83 kB / 0.9546 GB, free: 5.25 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.947e-05/0.6165, allocations: 19.3 kB / 0.9546 GB, free: 5.234 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.155e-05/0.6165, allocations: 26.53 kB / 0.9546 GB, free: 5.211 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.365e-05/0.6166, allocations: 325.5 kB / 0.9549 GB, free: 4.887 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.163e-05/0.6167, allocations: 26.02 kB / 0.9549 GB, free: 4.875 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.387e-05/0.6168, allocations: 73.05 kB / 0.955 GB, free: 4.801 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001515/0.6169, allocations: 103.9 kB / 0.9551 GB, free: 4.711 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.033e-06/0.6169, allocations: 1.156 kB / 0.9551 GB, free: 4.711 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002158/0.6172, allocations: 122.9 kB / 0.9552 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.365e-05/0.6172, allocations: 9.75 kB / 0.9552 GB, free: 4.633 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.673e-06/0.6172, allocations: 2.844 kB / 0.9552 GB, free: 4.633 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.414e-05/0.6172, allocations: 9.438 kB / 0.9552 GB, free: 4.625 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.263e-05/0.6173, allocations: 14.55 kB / 0.9553 GB, free: 4.621 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.003e-06/0.6173, allocations: 6.062 kB / 0.9553 GB, free: 4.617 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.391e-05/0.6174, allocations: 12.38 kB / 0.9553 GB, free: 4.609 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.09e-05/0.6174, allocations: 4.5 kB / 0.9553 GB, free: 4.609 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 11 (ac.curSeed,$PRE.ac.curSeed,ac.pOff,$PRE.ac.pOff,ac.pOn,$PRE.ac.pOn,ac.on,$PRE.ac.on,occ.y,ac.sampleTrigger,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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 6.57e-05/0.6175, allocations: 138.6 kB / 0.9554 GB, free: 4.473 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.956e-05/0.6175, allocations: 11.7 kB / 0.9554 GB, free: 4.465 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.6e-05/0.6175, allocations: 10.62 kB / 0.9554 GB, free: 4.457 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.6175, allocations: 2.094 kB / 0.9554 GB, free: 4.457 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.6175, allocations: 0 / 0.9554 GB, free: 4.457 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.6175, allocations: 0 / 0.9554 GB, free: 4.457 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004459/0.618, allocations: 434.4 kB / 0.9558 GB, free: 4.059 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.618, allocations: 0 / 0.9558 GB, free: 4.059 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.949e-05/0.6181, allocations: 7.562 kB / 0.9558 GB, free: 4.055 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/0.6181, allocations: 1.125 kB / 0.9559 GB, free: 4.055 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.191e-05/0.6181, allocations: 0.8438 kB / 0.9559 GB, free: 4.055 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.6181, allocations: 1.062 kB / 0.9559 GB, free: 4.055 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.434e-06/0.6181, allocations: 7.922 kB / 0.9559 GB, free: 4.047 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003193/0.6184, allocations: 238.3 kB / 0.9561 GB, free: 3.867 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.067e-05/0.6184, allocations: 95.12 kB / 0.9562 GB, free: 3.758 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.432e-05/0.6185, allocations: 1.281 kB / 0.9562 GB, free: 3.758 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001081/0.6186, allocations: 5.781 kB / 0.9562 GB, free: 3.758 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.084e-05/0.6186, allocations: 10.2 kB / 0.9562 GB, free: 3.75 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.047e-05/0.6187, allocations: 3.625 kB / 0.9562 GB, free: 3.75 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.183e-05/0.6187, allocations: 106.8 kB / 0.9563 GB, free: 3.656 MB / 0.7169 GB Notification: Performance of sort global known variables: time 7.21e-07/0.6187, allocations: 0 / 0.9563 GB, free: 3.656 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003228/0.619, allocations: 51.66 kB / 0.9563 GB, free: 3.641 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 (ac.sampleTrigger,$whenCondition1,occ.y,ac.on,ac.pOn,ac.pOff,ac.curSeed) * Number of discrete states: 1 (ac.on) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 4 * 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.0006838/0.6197, allocations: 0.8482 MB / 0.9572 GB, free: 2.895 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002535/0.62, allocations: 89.64 kB / 0.9573 GB, free: 2.855 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.62, allocations: 1.312 kB / 0.9573 GB, free: 2.855 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001241/0.6201, allocations: 51.55 kB / 0.9573 GB, free: 2.832 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002661/0.6204, allocations: 17.17 kB / 0.9573 GB, free: 2.82 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001299/0.6217, allocations: 1.599 MB / 0.9589 GB, free: 1.332 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001126/0.6218, allocations: 0.6954 MB / 0.9596 GB, free: 0.625 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 4.632e-05/0.6219, allocations: 8.203 kB / 0.9596 GB, free: 0.6211 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.226e-05/0.6219, allocations: 26.11 kB / 0.9596 GB, free: 0.5977 MB / 0.7169 GB Notification: Performance of SimCode: time 2.61e-07/0.6219, allocations: 1.375 kB / 0.9596 GB, free: 0.5977 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01902/0.641, allocations: 3.156 MB / 0.9627 GB, free: 14.97 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.229/7.87, allocations: 14.44 kB / 0.9627 GB, free: 14.96 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom.pipe ; mkfifo Buildings_9_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom.pipe >> ../files/Buildings_9_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom_res.csv --start-time 0 --stop-time 3600 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 Buildings_9_Buildings_Occupants_Residential_AirConditioning_Validation_Ren2014ACBedroom.fmu > Buildings_9_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Residential_AirConditioning_Validation_Ren2014ACBedroom.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches