Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity,fileNamePrefix="Buildings_9_Buildings_Occupants_Office_Blinds_Validation_Newsham1994BlindsSolarIntensity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity,fileNamePrefix="Buildings_9_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 9.1.1-maint.9.1.x/package.mo): time 2.275/2.275, allocations: 387.4 MB / 394.9 MB, free: 13.42 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.001219/0.001219, allocations: 180.9 kB / 487.4 MB, free: 5.043 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.498/1.498, allocations: 221.5 MB / 0.7824 GB, free: 0.957 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009656/0.0009656, allocations: 107 kB / 0.9219 GB, free: 2.184 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.959e-05/1.972e-05, allocations: 0 / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2727/0.2727, allocations: 142.4 MB / 1.206 GB, free: 43.89 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9783/1.251, allocations: 149.5 MB / 1.352 GB, free: 18.02 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003247/1.251, allocations: 85.3 kB / 1.352 GB, free: 18.02 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.004068/1.256, allocations: 1.116 MB / 1.353 GB, free: 33.65 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.222e-06/1.256, allocations: 0 / 1.353 GB, free: 33.65 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 6.773e-06/1.256, allocations: 0 / 1.353 GB, free: 33.65 MB / 0.8386 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.0004172/1.256, allocations: 397.6 kB / 1.354 GB, free: 33.24 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.548e-05/1.256, allocations: 12.06 kB / 1.354 GB, free: 33.24 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.655e-05/1.256, allocations: 7.75 kB / 1.354 GB, free: 33.23 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001198/1.256, allocations: 172.1 kB / 1.354 GB, free: 33.03 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.042e-05/1.256, allocations: 11.86 kB / 1.354 GB, free: 33.02 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.24e-05/1.256, allocations: 0.6562 kB / 1.354 GB, free: 33.02 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.002e-05/1.256, allocations: 15.75 kB / 1.354 GB, free: 33.02 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.807e-05/1.256, allocations: 48.98 kB / 1.354 GB, free: 32.98 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.197e-06/1.256, allocations: 0 / 1.354 GB, free: 32.98 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.269e-05/1.257, allocations: 0 / 1.354 GB, free: 32.98 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/1.257, allocations: 0 / 1.354 GB, free: 32.98 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004586/1.257, allocations: 267.1 kB / 1.354 GB, free: 32.75 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 5.339e-05/1.257, allocations: 26.11 kB / 1.354 GB, free: 32.72 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.146e-05/1.257, allocations: 12.22 kB / 1.354 GB, free: 32.71 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.461e-05/1.257, allocations: 0.6094 kB / 1.354 GB, free: 32.71 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000103/1.257, allocations: 62.45 kB / 1.354 GB, free: 32.66 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=5): time 1.233e-06/1.257, allocations: 0 / 1.354 GB, free: 32.66 MB / 0.8386 GB Notification: Performance of matching and sorting (n=5): time 0.0001708/1.257, allocations: 65.98 kB / 1.354 GB, free: 32.62 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.634e-05/1.257, allocations: 52.16 kB / 1.354 GB, free: 32.56 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.48e-05/1.258, allocations: 105.7 kB / 1.354 GB, free: 32.47 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.088e-05/1.258, allocations: 25.7 kB / 1.354 GB, free: 32.44 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.244e-05/1.258, allocations: 89.34 kB / 1.354 GB, free: 32.36 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.486e-05/1.258, allocations: 5.125 kB / 1.354 GB, free: 32.35 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.468e-06/1.258, allocations: 0 / 1.354 GB, free: 32.35 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001185/1.258, allocations: 323.2 kB / 1.355 GB, free: 32.04 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.267e-05/1.258, allocations: 13.86 kB / 1.355 GB, free: 32.03 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.808e-05/1.258, allocations: 38.25 kB / 1.355 GB, free: 31.99 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.043e-05/1.258, allocations: 16.95 kB / 1.355 GB, free: 31.99 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/1.258, allocations: 0 / 1.355 GB, free: 31.99 MB / 0.8386 GB Notification: Performance of matching and sorting (n=7) (initialization): time 9.289e-05/1.258, allocations: 71.67 kB / 1.355 GB, free: 31.95 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.224e-05/1.258, allocations: 8.922 kB / 1.355 GB, free: 31.95 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.182e-06/1.258, allocations: 0 / 1.355 GB, free: 31.95 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.656e-05/1.258, allocations: 3.969 kB / 1.355 GB, free: 31.95 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.697e-05/1.258, allocations: 9.641 kB / 1.355 GB, free: 31.95 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.043e-05/1.258, allocations: 9.281 kB / 1.355 GB, free: 31.94 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.312e-05/1.258, allocations: 5.125 kB / 1.355 GB, free: 31.94 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.234e-05/1.258, allocations: 4.781 kB / 1.355 GB, free: 31.94 MB / 0.8386 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 7.827e-05/1.258, allocations: 117.2 kB / 1.355 GB, free: 31.82 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 8.406e-05/1.258, allocations: 61.97 kB / 1.355 GB, free: 31.79 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.387e-06/1.258, allocations: 5.297 kB / 1.355 GB, free: 31.79 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.555e-05/1.258, allocations: 5.719 kB / 1.355 GB, free: 31.79 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/1.258, allocations: 3.875 kB / 1.355 GB, free: 31.79 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.99e-06/1.258, allocations: 1.812 kB / 1.355 GB, free: 31.79 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.638e-06/1.258, allocations: 4.656 kB / 1.355 GB, free: 31.79 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002198/1.259, allocations: 298.1 kB / 1.355 GB, free: 31.51 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.173e-06/1.259, allocations: 0 / 1.355 GB, free: 31.51 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.398e-05/1.259, allocations: 10 kB / 1.355 GB, free: 31.51 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/1.259, allocations: 0 / 1.355 GB, free: 31.51 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.227e-06/1.259, allocations: 0 / 1.355 GB, free: 31.51 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/1.259, allocations: 0.75 kB / 1.355 GB, free: 31.51 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.818e-06/1.259, allocations: 3.953 kB / 1.355 GB, free: 31.51 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001227/1.259, allocations: 157.5 kB / 1.356 GB, free: 31.38 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 3.155e-05/1.259, allocations: 92.7 kB / 1.356 GB, free: 31.27 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.749e-05/1.259, allocations: 4.641 kB / 1.356 GB, free: 31.27 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.986e-05/1.259, allocations: 6.484 kB / 1.356 GB, free: 31.27 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.532e-05/1.259, allocations: 9.453 kB / 1.356 GB, free: 31.27 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.404e-06/1.259, allocations: 4.75 kB / 1.356 GB, free: 31.26 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 6.19e-05/1.259, allocations: 88.05 kB / 1.356 GB, free: 31.19 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.41e-07/1.259, allocations: 0 / 1.356 GB, free: 31.19 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002117/1.259, allocations: 11.66 kB / 1.356 GB, free: 31.18 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.0003825/1.26, allocations: 0.6994 MB / 1.356 GB, free: 30.52 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 9.861e-05/1.26, allocations: 26.84 kB / 1.357 GB, free: 30.52 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/1.26, allocations: 0 / 1.357 GB, free: 30.52 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 4.368e-05/1.26, allocations: 23.14 kB / 1.357 GB, free: 30.51 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001996/1.26, allocations: 6.078 kB / 1.357 GB, free: 30.51 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004047/1.261, allocations: 122.7 kB / 1.357 GB, free: 30.39 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002959/1.261, allocations: 0.6911 MB / 1.357 GB, free: 29.69 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.677e-05/1.261, allocations: 5.016 kB / 1.357 GB, free: 29.69 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.556e-05/1.261, allocations: 16.67 kB / 1.357 GB, free: 29.68 MB / 0.8386 GB Notification: Performance of SimCode: time 2.4e-07/1.261, allocations: 0 / 1.357 GB, free: 29.68 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01952/1.281, allocations: 1.015 MB / 1.358 GB, free: 29.61 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002102/1.281, allocations: 176.3 kB / 1.359 GB, free: 29.41 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.446/2.727, allocations: 1.25 kB / 1.359 GB, free: 29.41 MB / 0.8386 GB (rm -f Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity_res.mat --tempDir=temp_Buildings_9_Buildings_Occupants_Office_Blinds_Validation_Newsham1994BlindsSolarIntensity_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Occupants_Office_Blinds_Validation_Newsham1994BlindsSolarIntensity.fmu > Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity_res.mat does not exist to compare? outputFormat=mat