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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001985/0.001985, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.00256/0.00256, allocations: 193.4 kB / 16.25 MB, free: 6.637 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.106/2.106, allocations: 222.9 MB / 239.9 MB, free: 4.492 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.737/2.737, allocations: 461.9 MB / 0.7343 GB, free: 14.94 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002124/0.002124, allocations: 66.17 kB / 0.8987 GB, free: 37.13 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2964/0.2985, allocations: 157.4 MB / 1.052 GB, free: 8.668 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom): time 0.003661/0.3022, allocations: 1.572 MB / 1.054 GB, free: 7.082 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001859/0.3041, allocations: 0.8261 MB / 1.055 GB, free: 6.25 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.178e-05/0.3042, allocations: 0 / 1.055 GB, free: 6.25 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.972e-05/0.3042, allocations: 3.938 kB / 1.055 GB, free: 6.246 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 6.677e-05/0.3043, allocations: 7.938 kB / 1.055 GB, free: 6.238 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.000688/0.305, allocations: 135.7 kB / 1.055 GB, free: 6.105 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.000151/0.3052, allocations: 91.7 kB / 1.055 GB, free: 6.016 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 9.637e-05/0.3053, allocations: 15.98 kB / 1.055 GB, free: 6 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001091/0.3054, allocations: 43.91 kB / 1.055 GB, free: 5.957 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 9.265e-05/0.3055, allocations: 43.83 kB / 1.055 GB, free: 5.914 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.063e-05/0.3055, allocations: 8 kB / 1.055 GB, free: 5.906 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002969/0.3058, allocations: 127.8 kB / 1.055 GB, free: 5.781 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 3.395e-05/0.3059, allocations: 19.91 kB / 1.055 GB, free: 5.762 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 6.53e-05/0.306, allocations: 43.8 kB / 1.055 GB, free: 5.719 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0003382/0.3063, allocations: 179.8 kB / 1.055 GB, free: 5.543 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.3063, allocations: 4 kB / 1.055 GB, free: 5.539 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.413e-06/0.3064, allocations: 0 / 1.055 GB, free: 5.539 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.229e-06/0.3064, allocations: 0 / 1.055 GB, free: 5.539 MB / 0.8106 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.0008818/0.3073, allocations: 482.5 kB / 1.056 GB, free: 5.008 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.985e-05/0.3073, allocations: 12.56 kB / 1.056 GB, free: 4.996 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.921e-05/0.3074, allocations: 42.67 kB / 1.056 GB, free: 4.945 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.572e-05/0.3074, allocations: 8.844 kB / 1.056 GB, free: 4.938 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001379/0.3076, allocations: 176.2 kB / 1.056 GB, free: 4.727 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.223e-05/0.3076, allocations: 8.375 kB / 1.056 GB, free: 4.719 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.228e-05/0.3077, allocations: 4.375 kB / 1.056 GB, free: 4.715 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000305/0.308, allocations: 85.75 kB / 1.056 GB, free: 4.625 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.092e-05/0.308, allocations: 0 / 1.056 GB, free: 4.625 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.592e-05/0.308, allocations: 7.938 kB / 1.056 GB, free: 4.617 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.308, allocations: 0 / 1.056 GB, free: 4.617 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002563/0.3083, allocations: 47.97 kB / 1.056 GB, free: 4.57 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007017/0.309, allocations: 324.8 kB / 1.057 GB, free: 4.203 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003201/0.3093, allocations: 82.56 kB / 1.057 GB, free: 4.113 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001921/0.3096, allocations: 48.83 kB / 1.057 GB, free: 4.062 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.321e-05/0.3096, allocations: 4 kB / 1.057 GB, free: 4.059 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000309/0.3099, allocations: 91.27 kB / 1.057 GB, free: 3.957 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=8): time 2.074e-06/0.3099, allocations: 0 / 1.057 GB, free: 3.957 MB / 0.8106 GB Notification: Performance of matching and sorting (n=8): time 0.0007498/0.3107, allocations: 181.8 kB / 1.057 GB, free: 3.773 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.767e-05/0.3107, allocations: 63.34 kB / 1.057 GB, free: 3.699 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001326/0.3109, allocations: 132.6 kB / 1.057 GB, free: 3.559 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.443e-05/0.3109, allocations: 25.7 kB / 1.057 GB, free: 3.527 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 6.254e-05/0.311, allocations: 96.12 kB / 1.057 GB, free: 3.43 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.379e-05/0.311, allocations: 23.89 kB / 1.057 GB, free: 3.406 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.555e-05/0.3111, allocations: 29.7 kB / 1.057 GB, free: 3.371 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001287/0.3113, allocations: 326.8 kB / 1.058 GB, free: 3.043 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001109/0.3114, allocations: 23.98 kB / 1.058 GB, free: 3.02 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001496/0.3115, allocations: 72.75 kB / 1.058 GB, free: 2.93 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002629/0.3118, allocations: 105.9 kB / 1.058 GB, free: 2.805 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.3118, allocations: 0 / 1.058 GB, free: 2.805 MB / 0.8106 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003683/0.3122, allocations: 121.6 kB / 1.058 GB, free: 2.68 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.416e-05/0.3122, allocations: 12.03 kB / 1.058 GB, free: 2.668 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.137e-06/0.3123, allocations: 12 kB / 1.058 GB, free: 2.656 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.535e-05/0.3123, allocations: 4 kB / 1.058 GB, free: 2.652 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001143/0.3124, allocations: 11.94 kB / 1.058 GB, free: 2.641 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.828e-06/0.3124, allocations: 7.984 kB / 1.058 GB, free: 2.633 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001066/0.3125, allocations: 11.89 kB / 1.058 GB, free: 2.621 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.734e-05/0.3126, allocations: 11.94 kB / 1.058 GB, free: 2.609 MB / 0.8106 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.0001144/0.3127, allocations: 127.3 kB / 1.058 GB, free: 2.477 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.026e-05/0.3127, allocations: 7.906 kB / 1.058 GB, free: 2.469 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.424e-05/0.3128, allocations: 12.7 kB / 1.058 GB, free: 2.457 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.619e-06/0.3128, allocations: 4.047 kB / 1.058 GB, free: 2.453 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.3128, allocations: 3.984 kB / 1.058 GB, free: 2.449 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/0.3128, allocations: 0 / 1.058 GB, free: 2.449 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008176/0.3136, allocations: 434.3 kB / 1.059 GB, free: 1.969 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.3137, allocations: 0 / 1.059 GB, free: 1.969 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.985e-05/0.3137, allocations: 11.98 kB / 1.059 GB, free: 1.957 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.3137, allocations: 0 / 1.059 GB, free: 1.957 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.671e-05/0.3138, allocations: 0 / 1.059 GB, free: 1.957 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.3138, allocations: 0 / 1.059 GB, free: 1.957 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.517e-06/0.3138, allocations: 7.938 kB / 1.059 GB, free: 1.949 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005641/0.3144, allocations: 243.3 kB / 1.059 GB, free: 1.695 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 5.112e-05/0.3144, allocations: 89.02 kB / 1.059 GB, free: 1.59 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.899e-05/0.3145, allocations: 0 / 1.059 GB, free: 1.59 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001699/0.3146, allocations: 7.984 kB / 1.059 GB, free: 1.582 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.692e-05/0.3147, allocations: 15.92 kB / 1.059 GB, free: 1.566 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.72e-05/0.3147, allocations: 4 kB / 1.059 GB, free: 1.562 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 7.817e-05/0.3148, allocations: 95.27 kB / 1.059 GB, free: 1.469 MB / 0.8106 GB Notification: Performance of sort global known variables: time 2.7e-07/0.3148, allocations: 0 / 1.059 GB, free: 1.469 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0005057/0.3153, allocations: 51.98 kB / 1.059 GB, free: 1.418 MB / 0.8106 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.001168/0.3165, allocations: 0.8495 MB / 1.06 GB, free: 0.5586 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0003866/0.3169, allocations: 87.88 kB / 1.06 GB, free: 484 kB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 4.619e-06/0.3169, allocations: 0 / 1.06 GB, free: 484 kB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0002027/0.3172, allocations: 51.86 kB / 1.06 GB, free: 432 kB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004105/0.3176, allocations: 24.25 kB / 1.06 GB, free: 408 kB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002306/0.3199, allocations: 1.602 MB / 1.062 GB, free: 14.68 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003164/0.3202, allocations: 0.7 MB / 1.062 GB, free: 13.96 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 5.443e-05/0.3203, allocations: 7.984 kB / 1.062 GB, free: 13.95 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.728e-05/0.3204, allocations: 23.44 kB / 1.062 GB, free: 13.93 MB / 0.8262 GB Notification: Performance of SimCode: time 4.01e-07/0.3204, allocations: 0 / 1.062 GB, free: 13.93 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2628/0.5832, allocations: 3.052 MB / 1.065 GB, free: 11.05 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003812/0.5836, allocations: 279.9 kB / 1.066 GB, free: 10.68 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.766/3.35, allocations: 0 / 1.066 GB, free: 10.68 MB / 0.8262 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom_res.mat --tempDir=temp_Buildings_latest_Buildings_Occupants_Residential_AirConditioning_Validation_Ren2014ACLivingroom_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 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.mat","/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