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 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.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.0009509/0.000951, allocations: 91.06 kB / 15.06 MB, free: 1.098 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.001121/0.001121, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.548/1.548, allocations: 223.3 MB / 240 MB, free: 5.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.539/2.539, allocations: 409.4 MB / 0.684 GB, free: 0.8125 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003626/0.0003628, allocations: 11.98 kB / 0.8378 GB, free: 6.488 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7885/0.7889, allocations: 146.8 MB / 0.9811 GB, free: 6.266 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom): time 0.002025/0.791, allocations: 1.202 MB / 0.9823 GB, free: 5.059 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001701/0.7927, allocations: 0.7679 MB / 0.9831 GB, free: 4.281 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.56e-05/0.7928, allocations: 0 / 0.9831 GB, free: 4.281 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 1.866e-05/0.7928, allocations: 0 / 0.9831 GB, free: 4.281 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 7.845e-05/0.7929, allocations: 11.86 kB / 0.9831 GB, free: 4.27 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006606/0.7936, allocations: 131.7 kB / 0.9832 GB, free: 4.141 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.000136/0.7937, allocations: 71.77 kB / 0.9833 GB, free: 4.07 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 9.84e-05/0.7938, allocations: 15.98 kB / 0.9833 GB, free: 4.055 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001043/0.7939, allocations: 35.84 kB / 0.9833 GB, free: 4.02 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 9.307e-05/0.794, allocations: 39.88 kB / 0.9833 GB, free: 3.98 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.398e-05/0.7941, allocations: 4 kB / 0.9834 GB, free: 3.977 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002931/0.7944, allocations: 115.8 kB / 0.9835 GB, free: 3.863 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 3.141e-05/0.7944, allocations: 15.92 kB / 0.9835 GB, free: 3.848 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 4.674e-05/0.7945, allocations: 33.7 kB / 0.9835 GB, free: 3.809 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0002638/0.7948, allocations: 134 kB / 0.9836 GB, free: 3.68 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.7948, allocations: 0 / 0.9836 GB, free: 3.68 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.264e-06/0.7948, allocations: 0 / 0.9836 GB, free: 3.68 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 7.945e-06/0.7948, allocations: 0 / 0.9836 GB, free: 3.68 MB / 0.7325 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.0008989/0.7957, allocations: 482.3 kB / 0.9841 GB, free: 3.148 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.574e-05/0.7958, allocations: 8.031 kB / 0.9841 GB, free: 3.141 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.159e-05/0.7958, allocations: 34.56 kB / 0.9841 GB, free: 3.098 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.094e-05/0.7959, allocations: 7.906 kB / 0.9841 GB, free: 3.09 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001434/0.796, allocations: 175 kB / 0.9843 GB, free: 2.879 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.716e-05/0.7961, allocations: 0 / 0.9843 GB, free: 2.879 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.533e-05/0.7961, allocations: 8 kB / 0.9843 GB, free: 2.871 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00029/0.7964, allocations: 97.53 kB / 0.9844 GB, free: 2.77 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.767e-06/0.7964, allocations: 0 / 0.9844 GB, free: 2.77 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.515e-05/0.7965, allocations: 0 / 0.9844 GB, free: 2.77 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.646e-06/0.7965, allocations: 4 kB / 0.9844 GB, free: 2.766 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002524/0.7967, allocations: 59.94 kB / 0.9845 GB, free: 2.707 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006811/0.7974, allocations: 324.7 kB / 0.9848 GB, free: 2.34 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003289/0.7978, allocations: 102.5 kB / 0.9849 GB, free: 2.23 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001731/0.798, allocations: 44.84 kB / 0.9849 GB, free: 2.184 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.58e-05/0.798, allocations: 7.984 kB / 0.9849 GB, free: 2.176 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002985/0.7983, allocations: 99.3 kB / 0.985 GB, free: 2.066 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=8): time 1.914e-06/0.7983, allocations: 0 / 0.985 GB, free: 2.066 MB / 0.7325 GB Notification: Performance of matching and sorting (n=8): time 0.0007299/0.7991, allocations: 201.5 kB / 0.9852 GB, free: 1.863 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.764e-05/0.7991, allocations: 55.41 kB / 0.9853 GB, free: 1.797 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001474/0.7993, allocations: 136 kB / 0.9854 GB, free: 1.652 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.359e-05/0.7993, allocations: 25.7 kB / 0.9854 GB, free: 1.621 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 7.547e-05/0.7994, allocations: 100.1 kB / 0.9855 GB, free: 1.52 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.128e-05/0.7994, allocations: 23.78 kB / 0.9855 GB, free: 1.496 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.312e-06/0.7995, allocations: 0 / 0.9855 GB, free: 1.496 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001471/0.7996, allocations: 322.8 kB / 0.9859 GB, free: 1.172 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000114/0.7997, allocations: 31.98 kB / 0.9859 GB, free: 1.141 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001516/0.7999, allocations: 69.12 kB / 0.9859 GB, free: 1.055 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001342/0.8, allocations: 39.92 kB / 0.986 GB, free: 1.016 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.075e-06/0.8001, allocations: 7.953 kB / 0.986 GB, free: 1.008 MB / 0.7325 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003573/0.8004, allocations: 129.6 kB / 0.9861 GB, free: 0.875 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.343e-05/0.8005, allocations: 8 kB / 0.9861 GB, free: 0.8672 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.394e-06/0.8005, allocations: 0 / 0.9861 GB, free: 0.8672 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.431e-05/0.8005, allocations: 7.984 kB / 0.9861 GB, free: 0.8594 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001243/0.8007, allocations: 8 kB / 0.9861 GB, free: 0.8516 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.997e-06/0.8007, allocations: 7.938 kB / 0.9861 GB, free: 0.8438 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001012/0.8008, allocations: 15.92 kB / 0.9862 GB, free: 0.8281 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.712e-05/0.8008, allocations: 4 kB / 0.9862 GB, free: 0.8242 MB / 0.7325 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 ($PRE.ac.curSeed,ac.curSeed,$PRE.ac.pOff,ac.pOff,$PRE.ac.pOn,ac.pOn,$PRE.ac.on,ac.on,occ.y,$whenCondition1,ac.sampleTrigger) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001395/0.801, allocations: 121.9 kB / 0.9863 GB, free: 0.6953 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.573e-05/0.801, allocations: 11.86 kB / 0.9863 GB, free: 0.6836 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.053e-05/0.8011, allocations: 16.7 kB / 0.9863 GB, free: 0.6641 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.8011, allocations: 0 / 0.9863 GB, free: 0.6641 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.8011, allocations: 0 / 0.9863 GB, free: 0.6641 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.878e-06/0.8011, allocations: 0 / 0.9863 GB, free: 0.6641 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008551/0.802, allocations: 450.3 kB / 0.9867 GB, free: 172 kB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.973e-06/0.802, allocations: 0 / 0.9867 GB, free: 172 kB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.638e-05/0.802, allocations: 11.98 kB / 0.9868 GB, free: 160 kB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.865e-06/0.802, allocations: 0 / 0.9868 GB, free: 160 kB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.496e-05/0.8021, allocations: 0 / 0.9868 GB, free: 160 kB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.8021, allocations: 0 / 0.9868 GB, free: 160 kB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.8021, allocations: 0 / 0.9868 GB, free: 160 kB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005441/0.8026, allocations: 263.3 kB / 0.987 GB, free: 15.88 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 5.586e-05/0.8027, allocations: 85.02 kB / 0.9871 GB, free: 15.78 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.106e-05/0.8028, allocations: 0 / 0.9871 GB, free: 15.78 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001639/0.8029, allocations: 15.98 kB / 0.9871 GB, free: 15.77 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.98e-05/0.803, allocations: 7.984 kB / 0.9871 GB, free: 15.76 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.695e-05/0.803, allocations: 4 kB / 0.9871 GB, free: 15.75 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 7.73e-05/0.8031, allocations: 100.6 kB / 0.9872 GB, free: 15.66 MB / 0.7481 GB Notification: Performance of sort global known variables: time 2e-07/0.8031, allocations: 7.875 kB / 0.9872 GB, free: 15.65 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0005444/0.8037, allocations: 51.98 kB / 0.9873 GB, free: 15.6 MB / 0.7481 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001262/0.8049, allocations: 0.8678 MB / 0.9881 GB, free: 14.72 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0002666/0.8052, allocations: 87.89 kB / 0.9882 GB, free: 14.63 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.788e-06/0.8052, allocations: 4 kB / 0.9882 GB, free: 14.63 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0001263/0.8054, allocations: 52.34 kB / 0.9882 GB, free: 14.58 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002682/0.8057, allocations: 15.98 kB / 0.9883 GB, free: 14.56 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001146/0.8068, allocations: 0.6683 MB / 0.9889 GB, free: 13.83 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002554/0.8071, allocations: 0.6926 MB / 0.9896 GB, free: 13.11 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 3.807e-05/0.8071, allocations: 3.859 kB / 0.9896 GB, free: 13.11 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.338e-05/0.8072, allocations: 27.42 kB / 0.9896 GB, free: 13.08 MB / 0.7481 GB Notification: Performance of SimCode: time 2.91e-07/0.8072, allocations: 4 kB / 0.9896 GB, free: 13.08 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01413/0.8213, allocations: 2.874 MB / 0.9924 GB, free: 10.39 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002075/0.8216, allocations: 265 kB / 0.9927 GB, free: 10.04 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.924/2.745, allocations: 3.938 kB / 0.9927 GB, free: 10.03 MB / 0.7481 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/linux/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) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom_res.mat does not exist to compare? outputFormat=mat