Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.Ren2014ACLivingroom,fileNamePrefix="Buildings_11_Buildings_Occupants_Residential_AirConditioning_Validation_Ren2014ACLivingroom",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom,fileNamePrefix="Buildings_11_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.001257/0.001257, allocations: 104 kB / 15.61 MB, free: 148 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.00123/0.00123, allocations: 197.8 kB / 16.54 MB, free: 6.684 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.333/1.333, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.667/2.667, allocations: 469.8 MB / 0.7424 GB, free: 7.371 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0019/0.0019, allocations: 67.44 kB / 0.9087 GB, free: 34.43 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3307/0.3327, allocations: 159.1 MB / 1.064 GB, free: 14.18 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom): time 0.003147/0.3358, allocations: 1.509 MB / 1.066 GB, free: 12.66 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001637/0.3375, allocations: 0.8313 MB / 1.066 GB, free: 11.82 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.706e-05/0.3376, allocations: 0 / 1.066 GB, free: 11.82 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.573e-05/0.3376, allocations: 3.938 kB / 1.066 GB, free: 11.82 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 7.089e-05/0.3377, allocations: 15.88 kB / 1.066 GB, free: 11.8 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007214/0.3385, allocations: 151.5 kB / 1.067 GB, free: 11.65 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001462/0.3386, allocations: 95.7 kB / 1.067 GB, free: 11.56 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 9.632e-05/0.3387, allocations: 11.98 kB / 1.067 GB, free: 11.55 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001087/0.3389, allocations: 35.91 kB / 1.067 GB, free: 11.51 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 8.772e-05/0.339, allocations: 51.83 kB / 1.067 GB, free: 11.46 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.289e-05/0.339, allocations: 8 kB / 1.067 GB, free: 11.45 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002807/0.3393, allocations: 127.8 kB / 1.067 GB, free: 11.33 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 4.471e-05/0.3393, allocations: 23.91 kB / 1.067 GB, free: 11.3 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 5.875e-05/0.3394, allocations: 39.8 kB / 1.067 GB, free: 11.27 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0003364/0.3397, allocations: 179.8 kB / 1.067 GB, free: 11.09 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.3397, allocations: 0 / 1.067 GB, free: 11.09 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.834e-06/0.3398, allocations: 0 / 1.067 GB, free: 11.09 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.29e-06/0.3398, allocations: 0 / 1.067 GB, free: 11.09 MB / 0.8262 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.0007883/0.3406, allocations: 494.4 kB / 1.068 GB, free: 10.55 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.908e-05/0.3406, allocations: 8.031 kB / 1.068 GB, free: 10.54 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.011e-05/0.3406, allocations: 30.75 kB / 1.068 GB, free: 10.5 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.642e-05/0.3407, allocations: 16.83 kB / 1.068 GB, free: 10.48 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001451/0.3408, allocations: 176.2 kB / 1.068 GB, free: 10.27 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.809e-05/0.3409, allocations: 384 / 1.068 GB, free: 10.27 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.067e-05/0.3409, allocations: 8.312 kB / 1.068 GB, free: 10.27 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002595/0.3412, allocations: 97.7 kB / 1.068 GB, free: 10.16 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.328e-05/0.3412, allocations: 3.984 kB / 1.068 GB, free: 10.16 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.382e-05/0.3412, allocations: 0 / 1.068 GB, free: 10.16 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.3412, allocations: 0 / 1.068 GB, free: 10.16 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001791/0.3414, allocations: 47.97 kB / 1.068 GB, free: 10.11 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000619/0.342, allocations: 320.7 kB / 1.068 GB, free: 9.75 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002632/0.3423, allocations: 94.56 kB / 1.068 GB, free: 9.648 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001236/0.3424, allocations: 44.98 kB / 1.068 GB, free: 9.602 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.743e-05/0.3425, allocations: 3.984 kB / 1.068 GB, free: 9.598 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002639/0.3427, allocations: 95.36 kB / 1.068 GB, free: 9.492 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=8): time 2.215e-06/0.3428, allocations: 0 / 1.068 GB, free: 9.492 MB / 0.8262 GB Notification: Performance of matching and sorting (n=8): time 0.0005507/0.3433, allocations: 181.5 kB / 1.069 GB, free: 9.309 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.044e-05/0.3434, allocations: 59.41 kB / 1.069 GB, free: 9.238 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000124/0.3435, allocations: 127.5 kB / 1.069 GB, free: 9.102 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.312e-05/0.3435, allocations: 29.7 kB / 1.069 GB, free: 9.066 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.937e-05/0.3436, allocations: 100.1 kB / 1.069 GB, free: 8.965 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.613e-05/0.3436, allocations: 23.73 kB / 1.069 GB, free: 8.941 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.664e-05/0.3437, allocations: 29.7 kB / 1.069 GB, free: 8.906 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001372/0.3438, allocations: 322.8 kB / 1.069 GB, free: 8.582 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.937e-05/0.3439, allocations: 23.98 kB / 1.069 GB, free: 8.559 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001156/0.3441, allocations: 71 kB / 1.069 GB, free: 8.469 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001929/0.3443, allocations: 101.9 kB / 1.069 GB, free: 8.348 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.739e-06/0.3443, allocations: 4 kB / 1.069 GB, free: 8.344 MB / 0.8262 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002616/0.3445, allocations: 125.3 kB / 1.07 GB, free: 8.215 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.852e-05/0.3446, allocations: 4 kB / 1.07 GB, free: 8.211 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.129e-06/0.3446, allocations: 4 kB / 1.07 GB, free: 8.207 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.374e-05/0.3446, allocations: 0 / 1.07 GB, free: 8.207 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.971e-05/0.3447, allocations: 20.11 kB / 1.07 GB, free: 8.188 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.152e-05/0.3447, allocations: 8 kB / 1.07 GB, free: 8.18 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.187e-05/0.3448, allocations: 15.92 kB / 1.07 GB, free: 8.164 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.334e-05/0.3448, allocations: 4 kB / 1.07 GB, free: 8.16 MB / 0.8262 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 0.0001404/0.3449, allocations: 121.8 kB / 1.07 GB, free: 8.031 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.383e-05/0.345, allocations: 7.906 kB / 1.07 GB, free: 8.023 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.153e-05/0.345, allocations: 12.75 kB / 1.07 GB, free: 8.012 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.053e-06/0.345, allocations: 0 / 1.07 GB, free: 8.012 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.083e-06/0.345, allocations: 11.94 kB / 1.07 GB, free: 8 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.741e-06/0.3451, allocations: 3.984 kB / 1.07 GB, free: 7.996 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006068/0.3457, allocations: 434.3 kB / 1.07 GB, free: 7.516 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.3457, allocations: 0 / 1.07 GB, free: 7.516 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.744e-05/0.3457, allocations: 4 kB / 1.07 GB, free: 7.512 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.1e-06/0.3457, allocations: 4 kB / 1.07 GB, free: 7.508 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.66e-05/0.3458, allocations: 7.984 kB / 1.07 GB, free: 7.5 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.3458, allocations: 0 / 1.07 GB, free: 7.5 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.3458, allocations: 7.938 kB / 1.07 GB, free: 7.492 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003936/0.3462, allocations: 247.7 kB / 1.07 GB, free: 7.234 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.92e-05/0.3462, allocations: 81.02 kB / 1.071 GB, free: 7.137 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.683e-05/0.3463, allocations: 8 kB / 1.071 GB, free: 7.129 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001037/0.3464, allocations: 7.984 kB / 1.071 GB, free: 7.121 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.406e-05/0.3464, allocations: 11.94 kB / 1.071 GB, free: 7.109 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.209e-05/0.3464, allocations: 3.984 kB / 1.071 GB, free: 7.105 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 6.892e-05/0.3465, allocations: 104.8 kB / 1.071 GB, free: 7.004 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3465, allocations: 0 / 1.071 GB, free: 7.004 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003222/0.3469, allocations: 47.98 kB / 1.071 GB, free: 6.957 MB / 0.8262 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.001058/0.3479, allocations: 0.8497 MB / 1.072 GB, free: 6.098 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002887/0.3482, allocations: 87.89 kB / 1.072 GB, free: 6.012 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.3482, allocations: 4.312 kB / 1.072 GB, free: 6.008 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001373/0.3484, allocations: 55.91 kB / 1.072 GB, free: 5.953 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002813/0.3487, allocations: 11.92 kB / 1.072 GB, free: 5.941 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002038/0.3507, allocations: 1.58 MB / 1.073 GB, free: 4.246 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003275/0.351, allocations: 0.6961 MB / 1.074 GB, free: 3.523 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.78e-05/0.3511, allocations: 7.984 kB / 1.074 GB, free: 3.516 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.842e-05/0.3511, allocations: 23.44 kB / 1.074 GB, free: 3.492 MB / 0.8262 GB Notification: Performance of SimCode: time 5.41e-07/0.3512, allocations: 0 / 1.074 GB, free: 3.492 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.789/1.14, allocations: 3.173 MB / 1.077 GB, free: 468 kB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 11/12.14, allocations: 4.359 kB / 1.077 GB, free: 464 kB / 0.8262 GB (rm -f Buildings_11_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.pipe ; mkfifo Buildings_11_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.pipe >> ../files/Buildings_11_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom_res.mat --tempDir=temp_Buildings_11_Buildings_Occupants_Residential_AirConditioning_Validation_Ren2014ACLivingroom_fmu --startTime=0 --stopTime=3600 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Occupants_Residential_AirConditioning_Validation_Ren2014ACLivingroom.fmu > Buildings_11_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Residential_AirConditioning_Validation_Ren2014ACLivingroom.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches