Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.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.1.0-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.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: "" <> buildModelFMU(Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom,fileNamePrefix="Buildings_latest_Buildings_Occupants_Residential_AirConditioning_Validation_Ren2014ACLivingroom",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom,fileNamePrefix="Buildings_latest_Buildings_Occupants_Residential_AirConditioning_Validation_Ren2014ACLivingroom",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.007721/0.007721, allocations: 98.56 kB / 15.73 MB, free: 6.07 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001838/0.001838, allocations: 192.3 kB / 16.67 MB, free: 5.977 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.419/1.419, allocations: 222.9 MB / 240.4 MB, free: 4.188 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.86/2.86, allocations: 469.4 MB / 0.7422 GB, free: 7.598 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001944/0.001944, allocations: 71.89 kB / 1.064 GB, free: 13.95 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3089/0.3109, allocations: 159.1 MB / 1.22 GB, free: 14.71 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom): time 0.002682/0.3136, allocations: 1.508 MB / 1.221 GB, free: 13.2 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001356/0.315, allocations: 0.8295 MB / 1.222 GB, free: 12.36 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.267e-05/0.3151, allocations: 3.938 kB / 1.222 GB, free: 12.36 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.16e-05/0.3151, allocations: 3.938 kB / 1.222 GB, free: 12.36 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 6.317e-05/0.3152, allocations: 11.86 kB / 1.222 GB, free: 12.34 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.000782/0.316, allocations: 159.5 kB / 1.222 GB, free: 12.19 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.00016/0.3161, allocations: 91.7 kB / 1.222 GB, free: 12.1 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001256/0.3163, allocations: 16 kB / 1.222 GB, free: 12.08 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001211/0.3164, allocations: 39.89 kB / 1.222 GB, free: 12.04 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 9.049e-05/0.3165, allocations: 43.83 kB / 1.222 GB, free: 12 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.334e-05/0.3165, allocations: 8 kB / 1.222 GB, free: 11.99 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002667/0.3168, allocations: 127.8 kB / 1.222 GB, free: 11.87 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.522e-05/0.3169, allocations: 23.91 kB / 1.222 GB, free: 11.84 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 5.217e-05/0.3169, allocations: 39.8 kB / 1.223 GB, free: 11.8 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003104/0.3172, allocations: 179.4 kB / 1.223 GB, free: 11.63 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.3172, allocations: 0 / 1.223 GB, free: 11.63 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.224e-06/0.3173, allocations: 4 kB / 1.223 GB, free: 11.62 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 9.969e-06/0.3173, allocations: 4 kB / 1.223 GB, free: 11.62 MB / 0.9825 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.0007566/0.318, allocations: 490.1 kB / 1.223 GB, free: 11.08 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.274e-05/0.3181, allocations: 12.03 kB / 1.223 GB, free: 11.07 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.614e-05/0.3181, allocations: 34.69 kB / 1.223 GB, free: 11.03 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.418e-05/0.3182, allocations: 8.891 kB / 1.223 GB, free: 11.02 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001274/0.3183, allocations: 176.3 kB / 1.223 GB, free: 10.81 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.948e-05/0.3184, allocations: 8.375 kB / 1.223 GB, free: 10.8 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.209e-05/0.3184, allocations: 8.375 kB / 1.223 GB, free: 10.79 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002372/0.3186, allocations: 89.75 kB / 1.223 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.498e-06/0.3186, allocations: 3.938 kB / 1.223 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.483e-05/0.3187, allocations: 3.938 kB / 1.224 GB, free: 10.69 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.664e-06/0.3187, allocations: 0 / 1.224 GB, free: 10.69 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001694/0.3189, allocations: 55.95 kB / 1.224 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005509/0.3194, allocations: 328.7 kB / 1.224 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002217/0.3196, allocations: 82.56 kB / 1.224 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001147/0.3198, allocations: 44.84 kB / 1.224 GB, free: 10.13 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.926e-05/0.3198, allocations: 0 / 1.224 GB, free: 10.13 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000241/0.32, allocations: 91.36 kB / 1.224 GB, free: 10.03 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=8): time 1.753e-06/0.3201, allocations: 0 / 1.224 GB, free: 10.03 MB / 0.9825 GB Notification: Performance of matching and sorting (n=8): time 0.0005289/0.3206, allocations: 193.7 kB / 1.224 GB, free: 9.832 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.622e-05/0.3206, allocations: 55.34 kB / 1.224 GB, free: 9.766 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001018/0.3207, allocations: 132.5 kB / 1.224 GB, free: 9.625 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.654e-05/0.3208, allocations: 33.7 kB / 1.224 GB, free: 9.586 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 4.902e-05/0.3208, allocations: 92.09 kB / 1.225 GB, free: 9.492 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.247e-05/0.3208, allocations: 23.83 kB / 1.225 GB, free: 9.469 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.701e-05/0.3209, allocations: 29.72 kB / 1.225 GB, free: 9.434 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 9.428e-05/0.321, allocations: 322.8 kB / 1.225 GB, free: 9.109 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.581e-05/0.3211, allocations: 27.98 kB / 1.225 GB, free: 9.082 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.323e-05/0.3212, allocations: 69.98 kB / 1.225 GB, free: 8.992 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001758/0.3214, allocations: 105.9 kB / 1.225 GB, free: 8.867 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.897e-06/0.3214, allocations: 0 / 1.225 GB, free: 8.867 MB / 0.9825 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002396/0.3216, allocations: 129.4 kB / 1.225 GB, free: 8.734 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.582e-05/0.3216, allocations: 4 kB / 1.225 GB, free: 8.73 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.195e-06/0.3217, allocations: 4 kB / 1.225 GB, free: 8.727 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.479e-05/0.3217, allocations: 4.188 kB / 1.225 GB, free: 8.723 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.839e-05/0.3218, allocations: 19.92 kB / 1.225 GB, free: 8.703 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.813e-06/0.3218, allocations: 0 / 1.225 GB, free: 8.703 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.898e-05/0.3219, allocations: 11.95 kB / 1.225 GB, free: 8.691 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.365e-05/0.3219, allocations: 8 kB / 1.225 GB, free: 8.684 MB / 0.9825 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 9.494e-05/0.322, allocations: 125.7 kB / 1.225 GB, free: 8.551 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.198e-05/0.322, allocations: 7.953 kB / 1.225 GB, free: 8.543 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.136e-05/0.322, allocations: 16.72 kB / 1.225 GB, free: 8.52 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.983e-06/0.3221, allocations: 0 / 1.225 GB, free: 8.52 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.581e-06/0.3221, allocations: 0 / 1.225 GB, free: 8.52 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.3221, allocations: 0 / 1.225 GB, free: 8.52 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005699/0.3226, allocations: 434.7 kB / 1.226 GB, free: 8.039 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.3227, allocations: 0 / 1.226 GB, free: 8.039 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.932e-05/0.3227, allocations: 4 kB / 1.226 GB, free: 8.035 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.016e-06/0.3227, allocations: 0 / 1.226 GB, free: 8.035 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.767e-05/0.3227, allocations: 7.984 kB / 1.226 GB, free: 8.027 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.3228, allocations: 7.938 kB / 1.226 GB, free: 8.02 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.3228, allocations: 3.938 kB / 1.226 GB, free: 8.016 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003691/0.3231, allocations: 243.5 kB / 1.226 GB, free: 7.762 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 3.833e-05/0.3232, allocations: 89.05 kB / 1.226 GB, free: 7.656 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.274e-05/0.3232, allocations: 0 / 1.226 GB, free: 7.656 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001104/0.3233, allocations: 15.98 kB / 1.226 GB, free: 7.641 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.875e-05/0.3234, allocations: 7.984 kB / 1.226 GB, free: 7.633 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.378e-05/0.3234, allocations: 11.98 kB / 1.226 GB, free: 7.621 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.268e-05/0.3235, allocations: 99.25 kB / 1.226 GB, free: 7.523 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3235, allocations: 0 / 1.226 GB, free: 7.523 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.000318/0.3238, allocations: 47.88 kB / 1.226 GB, free: 7.477 MB / 0.9825 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.0008405/0.3246, allocations: 0.863 MB / 1.227 GB, free: 6.605 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002646/0.3249, allocations: 80.2 kB / 1.227 GB, free: 6.527 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.3249, allocations: 8.062 kB / 1.227 GB, free: 6.52 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001319/0.3251, allocations: 47.95 kB / 1.227 GB, free: 6.473 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002676/0.3253, allocations: 23.81 kB / 1.227 GB, free: 6.449 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001571/0.3269, allocations: 1.596 MB / 1.229 GB, free: 4.738 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002215/0.3271, allocations: 0.6924 MB / 1.23 GB, free: 4.02 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.873e-05/0.3272, allocations: 4 kB / 1.23 GB, free: 4.016 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.81e-05/0.3272, allocations: 27.42 kB / 1.23 GB, free: 3.988 MB / 0.9825 GB Notification: Performance of SimCode: time 2.31e-07/0.3272, allocations: 0 / 1.23 GB, free: 3.988 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01936/0.3466, allocations: 3.209 MB / 1.233 GB, free: 0.9336 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.271/7.617, allocations: 16.12 kB / 1.233 GB, free: 0.918 MB / 0.9825 GB (rm -f Buildings_latest_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.pipe >> ../files/Buildings_latest_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom_res.csv --start-time 0 --stop-time 3600 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 Buildings_latest_Buildings_Occupants_Residential_AirConditioning_Validation_Ren2014ACLivingroom.fmu > Buildings_latest_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Residential_AirConditioning_Validation_Ren2014ACLivingroom.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches