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/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/Buildings 10.0.0-master/package.mo): time 2.361/2.361, allocations: 393.5 MB / 408.4 MB, free: 10.96 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001194/0.001194, allocations: 179.9 kB / 0.4901 GB, free: 2.238 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.582/1.582, allocations: 223.1 MB / 0.7992 GB, free: 15.64 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008737/0.0008738, allocations: 97.5 kB / 0.9396 GB, free: 2.82 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003812/0.0003812, allocations: 11.28 kB / 1.09 GB, free: 212.9 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2822/0.2826, allocations: 143 MB / 1.229 GB, free: 85.36 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1953/0.478, allocations: 152.1 MB / 1.378 GB, free: 13.02 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002637/0.4783, allocations: 83.95 kB / 1.378 GB, free: 12.93 MB / 0.8855 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/Occupants/BaseClasses/binaryVariableGeneration.mo:11:3-11:96:writable] Warning: localSeed was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. Notification: Performance of FrontEnd - DAE generated: time 0.01089/0.4892, allocations: 3.503 MB / 1.381 GB, free: 9.418 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.164e-06/0.4892, allocations: 0 / 1.381 GB, free: 9.418 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 8.326e-06/0.4893, allocations: 0 / 1.381 GB, free: 9.418 MB / 0.8855 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.000684/0.4899, allocations: 490.3 kB / 1.382 GB, free: 8.879 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.301e-05/0.49, allocations: 8.031 kB / 1.382 GB, free: 8.871 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.837e-05/0.4901, allocations: 42.5 kB / 1.382 GB, free: 8.82 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.911e-05/0.4901, allocations: 7.906 kB / 1.382 GB, free: 8.812 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001313/0.4902, allocations: 174.9 kB / 1.382 GB, free: 8.602 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.97e-05/0.4903, allocations: 11.98 kB / 1.382 GB, free: 8.59 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.019e-05/0.4903, allocations: 7.984 kB / 1.382 GB, free: 8.582 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002413/0.4906, allocations: 93.58 kB / 1.382 GB, free: 8.484 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.035e-06/0.4906, allocations: 0 / 1.382 GB, free: 8.484 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.601e-05/0.4906, allocations: 4 kB / 1.382 GB, free: 8.48 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.696e-06/0.4906, allocations: 3.953 kB / 1.382 GB, free: 8.477 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001767/0.4908, allocations: 51.97 kB / 1.382 GB, free: 8.426 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006229/0.4914, allocations: 328.8 kB / 1.383 GB, free: 8.055 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002395/0.4917, allocations: 98.7 kB / 1.383 GB, free: 7.949 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 2.326e-05/0.4917, allocations: 0 / 1.383 GB, free: 7.949 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002169/0.4919, allocations: 95.31 kB / 1.383 GB, free: 7.844 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=8): time 2.024e-06/0.4919, allocations: 0 / 1.383 GB, free: 7.844 MB / 0.8855 GB Notification: Performance of matching and sorting (n=8): time 0.0005392/0.4925, allocations: 201.5 kB / 1.383 GB, free: 7.641 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.853e-05/0.4926, allocations: 59.41 kB / 1.383 GB, free: 7.57 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001104/0.4927, allocations: 131.3 kB / 1.383 GB, free: 7.434 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 2.172e-05/0.4927, allocations: 25.7 kB / 1.383 GB, free: 7.402 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 6.398e-05/0.4928, allocations: 96.14 kB / 1.383 GB, free: 7.305 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 2.68e-05/0.4928, allocations: 23.94 kB / 1.383 GB, free: 7.281 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.023e-06/0.4928, allocations: 4 kB / 1.383 GB, free: 7.277 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001076/0.4929, allocations: 318.8 kB / 1.384 GB, free: 6.957 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.538e-05/0.493, allocations: 27.98 kB / 1.384 GB, free: 6.93 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001058/0.4931, allocations: 76.98 kB / 1.384 GB, free: 6.836 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001048/0.4932, allocations: 35.92 kB / 1.384 GB, free: 6.801 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.4933, allocations: 4 kB / 1.384 GB, free: 6.797 MB / 0.8855 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002494/0.4935, allocations: 129.4 kB / 1.384 GB, free: 6.664 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.897e-05/0.4935, allocations: 7.953 kB / 1.384 GB, free: 6.656 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/0.4935, allocations: 7.938 kB / 1.384 GB, free: 6.648 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.293e-05/0.4936, allocations: 192 / 1.384 GB, free: 6.648 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.063e-05/0.4937, allocations: 23.92 kB / 1.384 GB, free: 6.625 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.185e-06/0.4937, allocations: 4 kB / 1.384 GB, free: 6.621 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.026e-05/0.4938, allocations: 11.91 kB / 1.384 GB, free: 6.609 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.678e-05/0.4938, allocations: 7.984 kB / 1.384 GB, free: 6.602 MB / 0.8855 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,ac.occ,$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.0001113/0.4939, allocations: 123.5 kB / 1.384 GB, free: 6.473 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.042e-05/0.4939, allocations: 11.84 kB / 1.384 GB, free: 6.461 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.241e-05/0.494, allocations: 16.67 kB / 1.384 GB, free: 6.449 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.917e-06/0.494, allocations: 4 kB / 1.384 GB, free: 6.445 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.129e-06/0.494, allocations: 0 / 1.384 GB, free: 6.445 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.025e-06/0.494, allocations: 0 / 1.384 GB, free: 6.445 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005911/0.4946, allocations: 434.5 kB / 1.384 GB, free: 5.965 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.4946, allocations: 4 kB / 1.384 GB, free: 5.961 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.033e-05/0.4947, allocations: 7.953 kB / 1.384 GB, free: 5.953 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.935e-06/0.4947, allocations: 0 / 1.384 GB, free: 5.953 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.677e-05/0.4947, allocations: 7.984 kB / 1.384 GB, free: 5.945 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.597e-06/0.4947, allocations: 3.938 kB / 1.384 GB, free: 5.941 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.4947, allocations: 0 / 1.384 GB, free: 5.941 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000389/0.4951, allocations: 255.4 kB / 1.385 GB, free: 5.676 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 5.809e-05/0.4952, allocations: 81.02 kB / 1.385 GB, free: 5.578 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.565e-05/0.4952, allocations: 7.953 kB / 1.385 GB, free: 5.57 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001123/0.4953, allocations: 11.98 kB / 1.385 GB, free: 5.559 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.849e-05/0.4954, allocations: 8.031 kB / 1.385 GB, free: 5.551 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.447e-05/0.4954, allocations: 11.98 kB / 1.385 GB, free: 5.539 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 6.085e-05/0.4954, allocations: 97.52 kB / 1.385 GB, free: 5.445 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4955, allocations: 0 / 1.385 GB, free: 5.445 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0003696/0.4958, allocations: 71.86 kB / 1.385 GB, free: 5.375 MB / 0.8855 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,ac.occ,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.001043/0.4969, allocations: 0.8739 MB / 1.386 GB, free: 4.484 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0002744/0.4972, allocations: 91.89 kB / 1.386 GB, free: 4.395 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.4972, allocations: 0 / 1.386 GB, free: 4.395 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0001349/0.4973, allocations: 55.91 kB / 1.386 GB, free: 4.34 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002071/0.4975, allocations: 17 kB / 1.386 GB, free: 4.324 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001181/0.4987, allocations: 1.394 MB / 1.387 GB, free: 2.859 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002661/0.499, allocations: 0.6965 MB / 1.388 GB, free: 2.137 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 4.168e-05/0.4991, allocations: 4 kB / 1.388 GB, free: 2.133 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.749e-05/0.4991, allocations: 19.42 kB / 1.388 GB, free: 2.113 MB / 0.8855 GB Notification: Performance of SimCode: time 3.21e-07/0.4991, allocations: 4 kB / 1.388 GB, free: 2.109 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01691/0.516, allocations: 3.033 MB / 1.391 GB, free: 15.26 MB / 0.9011 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002629/0.5163, allocations: 253.7 kB / 1.391 GB, free: 14.93 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.655/2.172, allocations: 2.953 kB / 1.391 GB, free: 14.93 MB / 0.9011 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) 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