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.00119/0.00119, allocations: 100.1 kB / 15.05 MB, free: 1.105 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.001371/0.001372, allocations: 177.3 kB / 15.95 MB, free: 216 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.622/1.622, allocations: 223.2 MB / 239.9 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.593/2.593, allocations: 409.2 MB / 0.6838 GB, free: 0.957 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0005463/0.0005465, allocations: 8 kB / 0.8375 GB, free: 6.586 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9034/0.904, allocations: 146.8 MB / 0.9809 GB, free: 6.312 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom): time 0.001825/0.9059, allocations: 1.194 MB / 0.982 GB, free: 5.113 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001426/0.9073, allocations: 0.7679 MB / 0.9828 GB, free: 4.336 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.034e-05/0.9074, allocations: 0 / 0.9828 GB, free: 4.336 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.797e-05/0.9074, allocations: 7.922 kB / 0.9828 GB, free: 4.328 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 7.007e-05/0.9075, allocations: 19.91 kB / 0.9828 GB, free: 4.309 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006364/0.9082, allocations: 111.6 kB / 0.9829 GB, free: 4.199 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001256/0.9083, allocations: 55.94 kB / 0.983 GB, free: 4.145 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001226/0.9084, allocations: 15.97 kB / 0.983 GB, free: 4.129 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001002/0.9085, allocations: 31.91 kB / 0.983 GB, free: 4.098 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001005/0.9087, allocations: 39.83 kB / 0.983 GB, free: 4.059 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.666e-05/0.9087, allocations: 4 kB / 0.9831 GB, free: 4.055 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000214/0.9089, allocations: 99.84 kB / 0.9831 GB, free: 3.957 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.956e-05/0.9089, allocations: 15.91 kB / 0.9832 GB, free: 3.941 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 5.012e-05/0.909, allocations: 45.64 kB / 0.9832 GB, free: 3.891 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0002109/0.9092, allocations: 126 kB / 0.9833 GB, free: 3.77 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 2.966e-06/0.9092, allocations: 0 / 0.9833 GB, free: 3.77 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.395e-06/0.9092, allocations: 0 / 0.9833 GB, free: 3.77 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.199e-06/0.9092, allocations: 0 / 0.9833 GB, free: 3.77 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.0007983/0.9101, allocations: 470.4 kB / 0.9838 GB, free: 3.25 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.137e-05/0.9101, allocations: 12.03 kB / 0.9838 GB, free: 3.238 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.112e-05/0.9102, allocations: 38.55 kB / 0.9838 GB, free: 3.191 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.56e-05/0.9102, allocations: 7.906 kB / 0.9838 GB, free: 3.184 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001343/0.9103, allocations: 171 kB / 0.984 GB, free: 2.977 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.967e-05/0.9104, allocations: 8 kB / 0.984 GB, free: 2.969 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.745e-05/0.9104, allocations: 4 kB / 0.984 GB, free: 2.965 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000237/0.9106, allocations: 89.58 kB / 0.9841 GB, free: 2.871 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.077e-06/0.9107, allocations: 8 kB / 0.9841 GB, free: 2.863 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.592e-05/0.9107, allocations: 4 kB / 0.9841 GB, free: 2.859 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.601e-06/0.9107, allocations: 0 / 0.9841 GB, free: 2.859 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001686/0.9109, allocations: 55.91 kB / 0.9842 GB, free: 2.805 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005604/0.9114, allocations: 336.6 kB / 0.9845 GB, free: 2.426 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002275/0.9117, allocations: 90.44 kB / 0.9846 GB, free: 2.328 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.436e-05/0.9117, allocations: 4 kB / 0.9846 GB, free: 2.324 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002451/0.912, allocations: 103.4 kB / 0.9847 GB, free: 2.211 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=8): time 1.643e-06/0.912, allocations: 0 / 0.9847 GB, free: 2.211 MB / 0.7325 GB Notification: Performance of matching and sorting (n=8): time 0.0005502/0.9125, allocations: 197.5 kB / 0.9849 GB, free: 2.012 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.027e-05/0.9126, allocations: 59.53 kB / 0.9849 GB, free: 1.941 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001303/0.9127, allocations: 135 kB / 0.985 GB, free: 1.797 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.1e-05/0.9128, allocations: 29.7 kB / 0.9851 GB, free: 1.762 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 6.565e-05/0.9128, allocations: 96.05 kB / 0.9852 GB, free: 1.664 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.114e-05/0.9129, allocations: 19.8 kB / 0.9852 GB, free: 1.645 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.853e-06/0.9129, allocations: 4 kB / 0.9852 GB, free: 1.641 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001265/0.913, allocations: 318.8 kB / 0.9855 GB, free: 1.32 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.002e-05/0.9131, allocations: 23.98 kB / 0.9855 GB, free: 1.297 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001055/0.9132, allocations: 77.92 kB / 0.9856 GB, free: 1.199 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.438e-05/0.9133, allocations: 31.98 kB / 0.9856 GB, free: 1.168 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.9133, allocations: 0 / 0.9856 GB, free: 1.168 MB / 0.7325 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002656/0.9136, allocations: 137.4 kB / 0.9857 GB, free: 1.027 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.026e-05/0.9136, allocations: 5.25 kB / 0.9857 GB, free: 1.023 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.768e-06/0.9136, allocations: 11.92 kB / 0.9858 GB, free: 1.012 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.309e-05/0.9136, allocations: 0 / 0.9858 GB, free: 1.012 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.523e-05/0.9137, allocations: 15.98 kB / 0.9858 GB, free: 0.9961 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.508e-06/0.9138, allocations: 8.188 kB / 0.9858 GB, free: 0.9883 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.065e-05/0.9138, allocations: 11.94 kB / 0.9858 GB, free: 0.9766 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.739e-05/0.9139, allocations: 7.984 kB / 0.9858 GB, free: 0.9688 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.0001203/0.914, allocations: 123 kB / 0.9859 GB, free: 0.8398 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.129e-05/0.914, allocations: 15.86 kB / 0.9859 GB, free: 0.8242 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.153e-05/0.9141, allocations: 4.719 kB / 0.9859 GB, free: 0.8164 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.9141, allocations: 4 kB / 0.9859 GB, free: 0.8125 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.9141, allocations: 4 kB / 0.9859 GB, free: 0.8086 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.9141, allocations: 0 / 0.9859 GB, free: 0.8086 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000612/0.9147, allocations: 446.3 kB / 0.9864 GB, free: 324 kB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.9147, allocations: 0 / 0.9864 GB, free: 324 kB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.144e-05/0.9148, allocations: 8 kB / 0.9864 GB, free: 316 kB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.576e-06/0.9148, allocations: 0 / 0.9864 GB, free: 316 kB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.839e-05/0.9148, allocations: 11.98 kB / 0.9864 GB, free: 304 kB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.9148, allocations: 3.938 kB / 0.9864 GB, free: 300 kB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.9148, allocations: 0 / 0.9864 GB, free: 300 kB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004027/0.9152, allocations: 255.3 kB / 0.9866 GB, free: 28 kB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 7.757e-05/0.9153, allocations: 85.02 kB / 0.9867 GB, free: 15.93 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.581e-05/0.9154, allocations: 4 kB / 0.9867 GB, free: 15.92 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001119/0.9155, allocations: 11.98 kB / 0.9867 GB, free: 15.91 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.515e-05/0.9155, allocations: 4 kB / 0.9867 GB, free: 15.91 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.383e-05/0.9155, allocations: 7.922 kB / 0.9867 GB, free: 15.9 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 7.22e-05/0.9156, allocations: 104.5 kB / 0.9868 GB, free: 15.8 MB / 0.7481 GB Notification: Performance of sort global known variables: time 2.3e-07/0.9156, allocations: 7.938 kB / 0.9869 GB, free: 15.79 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0003678/0.916, allocations: 51.98 kB / 0.9869 GB, free: 15.74 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.001044/0.9171, allocations: 0.86 MB / 0.9877 GB, free: 14.87 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0002993/0.9174, allocations: 91.95 kB / 0.9878 GB, free: 14.78 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.055e-06/0.9174, allocations: 3.938 kB / 0.9878 GB, free: 14.77 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0001394/0.9175, allocations: 51.97 kB / 0.9879 GB, free: 14.72 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002059/0.9177, allocations: 8 kB / 0.9879 GB, free: 14.71 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001258/0.919, allocations: 1.371 MB / 0.9892 GB, free: 13.27 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003129/0.9193, allocations: 0.7004 MB / 0.9899 GB, free: 12.55 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 4.409e-05/0.9194, allocations: 8.078 kB / 0.9899 GB, free: 12.54 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.834e-05/0.9195, allocations: 26.3 kB / 0.9899 GB, free: 12.52 MB / 0.7481 GB Notification: Performance of SimCode: time 5.81e-07/0.9195, allocations: 3.938 kB / 0.99 GB, free: 12.51 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01611/0.9356, allocations: 2.85 MB / 0.9927 GB, free: 9.844 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002461/0.9359, allocations: 259.8 kB / 0.993 GB, free: 9.508 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.877/2.813, allocations: 2.531 kB / 0.993 GB, free: 9.508 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