Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.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.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity,fileNamePrefix="Buildings_latest_Buildings_Occupants_Office_Blinds_Validation_Newsham1994BlindsSolarIntensity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity,fileNamePrefix="Buildings_latest_Buildings_Occupants_Office_Blinds_Validation_Newsham1994BlindsSolarIntensity",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.148/2.148, allocations: 390.3 MB / 402.8 MB, free: 6.723 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.001432/0.001433, allocations: 184.7 kB / 496.1 MB, free: 12.89 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.353/1.353, allocations: 221.3 MB / 0.7915 GB, free: 5.469 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.0009282/0.0009282, allocations: 94.61 kB / 0.9317 GB, free: 5.789 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.122e-05/3.14e-05, allocations: 1.406 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2609/0.2609, allocations: 143 MB / 1.219 GB, free: 13.45 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8235/1.084, allocations: 150.9 MB / 1.366 GB, free: 3.129 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002208/1.085, allocations: 89 kB / 1.366 GB, free: 3.078 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.003183/1.088, allocations: 1.114 MB / 1.367 GB, free: 2.098 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.633e-06/1.088, allocations: 0 / 1.367 GB, free: 2.098 MB / 0.823 GB Notification: Performance of Transformations before backend: time 7.274e-06/1.088, allocations: 0 / 1.367 GB, free: 2.098 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004309/1.088, allocations: 398.2 kB / 1.368 GB, free: 1.656 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.546e-05/1.088, allocations: 12.03 kB / 1.368 GB, free: 1.645 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.566e-05/1.089, allocations: 33.56 kB / 1.368 GB, free: 1.605 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.999e-05/1.089, allocations: 11.86 kB / 1.368 GB, free: 1.594 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001269/1.089, allocations: 171 kB / 1.368 GB, free: 1.387 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.29e-05/1.089, allocations: 4 kB / 1.368 GB, free: 1.383 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.378e-05/1.089, allocations: 7.125 kB / 1.368 GB, free: 1.379 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001117/1.089, allocations: 48.5 kB / 1.368 GB, free: 1.332 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.935e-06/1.089, allocations: 0 / 1.368 GB, free: 1.332 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.017e-05/1.089, allocations: 0 / 1.368 GB, free: 1.332 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.059e-06/1.089, allocations: 4 kB / 1.368 GB, free: 1.328 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.02e-05/1.089, allocations: 19 kB / 1.368 GB, free: 1.316 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004343/1.089, allocations: 282.7 kB / 1.368 GB, free: 1.004 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 6.822e-05/1.089, allocations: 29.77 kB / 1.368 GB, free: 0.9688 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.379e-05/1.09, allocations: 14.98 kB / 1.368 GB, free: 0.957 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.329e-05/1.09, allocations: 8 kB / 1.368 GB, free: 0.9492 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001078/1.09, allocations: 58.05 kB / 1.368 GB, free: 0.8867 MB / 0.823 GB Notification: Performance of pre-optimization done (n=5): time 2.755e-06/1.09, allocations: 0 / 1.368 GB, free: 0.8867 MB / 0.823 GB Notification: Performance of matching and sorting (n=5): time 0.0001797/1.09, allocations: 68.45 kB / 1.369 GB, free: 0.8242 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.88e-05/1.09, allocations: 55.09 kB / 1.369 GB, free: 0.7617 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.392e-05/1.09, allocations: 111.9 kB / 1.369 GB, free: 0.6445 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.742e-05/1.09, allocations: 28.77 kB / 1.369 GB, free: 0.6133 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 4.784e-05/1.09, allocations: 95.56 kB / 1.369 GB, free: 0.5195 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 1.425e-05/1.09, allocations: 3.906 kB / 1.369 GB, free: 0.5156 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.759e-06/1.09, allocations: 3.125 kB / 1.369 GB, free: 0.5156 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001393/1.09, allocations: 319.9 kB / 1.369 GB, free: 204 kB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.736e-05/1.09, allocations: 11.17 kB / 1.369 GB, free: 196 kB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.008e-05/1.09, allocations: 35.61 kB / 1.369 GB, free: 148 kB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.533e-05/1.09, allocations: 15 kB / 1.369 GB, free: 136 kB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/1.09, allocations: 4 kB / 1.369 GB, free: 132 kB / 0.823 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001223/1.091, allocations: 79.41 kB / 1.369 GB, free: 56 kB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.431e-05/1.091, allocations: 7.984 kB / 1.369 GB, free: 48 kB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/1.091, allocations: 224 / 1.369 GB, free: 48 kB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.638e-05/1.091, allocations: 12 kB / 1.369 GB, free: 36 kB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.162e-05/1.091, allocations: 11.95 kB / 1.369 GB, free: 24 kB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.009e-05/1.091, allocations: 0.5469 kB / 1.369 GB, free: 24 kB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.448e-05/1.091, allocations: 11.92 kB / 1.369 GB, free: 12 kB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.668e-06/1.091, allocations: 4 kB / 1.369 GB, free: 8 kB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.bli.blindState,bli.blindState,bli.occ,$whenCondition1,bli.sampleTrigger) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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 8.297e-05/1.091, allocations: 108.4 kB / 1.369 GB, free: 15.9 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.39e-05/1.091, allocations: 3.906 kB / 1.369 GB, free: 15.89 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.547e-05/1.091, allocations: 16.03 kB / 1.369 GB, free: 15.88 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-06/1.091, allocations: 0 / 1.369 GB, free: 15.88 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.193e-06/1.091, allocations: 3.953 kB / 1.369 GB, free: 15.88 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.896e-06/1.091, allocations: 3.828 kB / 1.369 GB, free: 15.88 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003011/1.091, allocations: 321.6 kB / 1.37 GB, free: 15.53 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/1.091, allocations: 0 / 1.37 GB, free: 15.53 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.35e-05/1.091, allocations: 4 kB / 1.37 GB, free: 15.52 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.312e-06/1.091, allocations: 4 kB / 1.37 GB, free: 15.52 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.089e-05/1.091, allocations: 6.953 kB / 1.37 GB, free: 15.52 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/1.091, allocations: 4 kB / 1.37 GB, free: 15.51 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.796e-06/1.091, allocations: 3.984 kB / 1.37 GB, free: 15.51 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001419/1.092, allocations: 159.9 kB / 1.37 GB, free: 15.35 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 4.674e-05/1.092, allocations: 81.09 kB / 1.37 GB, free: 15.25 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.433e-05/1.092, allocations: 4 kB / 1.37 GB, free: 15.25 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.914e-05/1.092, allocations: 7.953 kB / 1.37 GB, free: 15.24 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.809e-05/1.092, allocations: 7.984 kB / 1.37 GB, free: 15.23 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.573e-06/1.092, allocations: 11 kB / 1.37 GB, free: 15.22 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 4.561e-05/1.092, allocations: 90.66 kB / 1.37 GB, free: 15.14 MB / 0.8386 GB Notification: Performance of sort global known variables: time 2.8e-07/1.092, allocations: 0 / 1.37 GB, free: 15.14 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002082/1.092, allocations: 11.94 kB / 1.37 GB, free: 15.12 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 (bli.sampleTrigger,$whenCondition1,bli.occ,bli.blindState) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0004307/1.092, allocations: 0.7002 MB / 1.371 GB, free: 14.41 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001068/1.093, allocations: 42.31 kB / 1.371 GB, free: 14.38 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/1.093, allocations: 0 / 1.371 GB, free: 14.38 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 4.338e-05/1.093, allocations: 19.31 kB / 1.371 GB, free: 14.36 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001777/1.093, allocations: 12.44 kB / 1.371 GB, free: 14.36 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003705/1.093, allocations: 113.9 kB / 1.371 GB, free: 14.21 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000249/1.093, allocations: 0.6852 MB / 1.372 GB, free: 13.5 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.092e-05/1.093, allocations: 11.92 kB / 1.372 GB, free: 13.49 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.952e-05/1.094, allocations: 18.31 kB / 1.372 GB, free: 13.48 MB / 0.8386 GB Notification: Performance of SimCode: time 2.41e-07/1.094, allocations: 0 / 1.372 GB, free: 13.48 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01196/1.106, allocations: 1.347 MB / 1.373 GB, free: 12.32 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002332/1.106, allocations: 190.6 kB / 1.373 GB, free: 12.09 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.375/2.481, allocations: 1.125 kB / 1.373 GB, free: 12.09 MB / 0.8386 GB (rm -f Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity_res.mat --tempDir=temp_Buildings_latest_Buildings_Occupants_Office_Blinds_Validation_Newsham1994BlindsSolarIntensity_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Occupants_Office_Blinds_Validation_Newsham1994BlindsSolarIntensity.fmu > Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity_res.mat does not exist to compare? outputFormat=mat