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.452/2.452, allocations: 387.1 MB / 399.7 MB, free: 9.449 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.001812/0.001812, allocations: 184.9 kB / 492.3 MB, free: 0.6016 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.862/1.862, allocations: 221.3 MB / 0.7871 GB, free: 12.88 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.001484/0.001484, allocations: 98.84 kB / 0.9267 GB, free: 13.94 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.259e-05/4.269e-05, allocations: 0 / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3135/0.3136, allocations: 142.3 MB / 1.212 GB, free: 38.41 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.224/1.537, allocations: 150.1 MB / 1.359 GB, free: 19.05 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004356/1.538, allocations: 83.16 kB / 1.359 GB, free: 19.05 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.005529/1.543, allocations: 1.122 MB / 1.36 GB, free: 34.69 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.715e-06/1.543, allocations: 0 / 1.36 GB, free: 34.69 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.33e-05/1.543, allocations: 0 / 1.36 GB, free: 34.69 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.0005686/1.544, allocations: 398.5 kB / 1.361 GB, free: 34.27 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 7.255e-05/1.544, allocations: 15.5 kB / 1.361 GB, free: 34.27 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.199e-05/1.544, allocations: 30.56 kB / 1.361 GB, free: 34.23 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.02e-05/1.544, allocations: 3.719 kB / 1.361 GB, free: 34.23 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001767/1.544, allocations: 181.4 kB / 1.361 GB, free: 34.02 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.968e-05/1.544, allocations: 2.75 kB / 1.361 GB, free: 34.02 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.739e-05/1.545, allocations: 7.812 kB / 1.361 GB, free: 34.02 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001649/1.545, allocations: 43.11 kB / 1.361 GB, free: 33.99 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.233e-05/1.545, allocations: 0 / 1.361 GB, free: 33.99 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.655e-05/1.545, allocations: 6.703 kB / 1.361 GB, free: 33.99 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.607e-06/1.545, allocations: 3.938 kB / 1.361 GB, free: 33.98 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.96e-05/1.545, allocations: 18.5 kB / 1.361 GB, free: 33.98 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005902/1.545, allocations: 281.2 kB / 1.361 GB, free: 33.71 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 8.463e-05/1.546, allocations: 33.86 kB / 1.361 GB, free: 33.69 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.763e-05/1.546, allocations: 12.05 kB / 1.361 GB, free: 33.68 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.226e-05/1.546, allocations: 7.844 kB / 1.361 GB, free: 33.68 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001345/1.546, allocations: 57.39 kB / 1.361 GB, free: 33.63 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=5): time 1.392e-06/1.546, allocations: 0 / 1.361 GB, free: 33.63 MB / 0.8386 GB Notification: Performance of matching and sorting (n=5): time 0.0002586/1.546, allocations: 74.7 kB / 1.361 GB, free: 33.59 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.05e-05/1.546, allocations: 51.41 kB / 1.361 GB, free: 33.52 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001354/1.546, allocations: 108 kB / 1.362 GB, free: 33.43 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.704e-05/1.546, allocations: 25.7 kB / 1.362 GB, free: 33.4 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 7.793e-05/1.546, allocations: 94.36 kB / 1.362 GB, free: 33.31 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.091e-05/1.546, allocations: 9.031 kB / 1.362 GB, free: 33.31 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.653e-06/1.546, allocations: 0 / 1.362 GB, free: 33.31 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0002075/1.547, allocations: 317.4 kB / 1.362 GB, free: 33 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.871e-05/1.547, allocations: 13.39 kB / 1.362 GB, free: 33 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.272e-05/1.547, allocations: 34.02 kB / 1.362 GB, free: 32.96 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.167e-05/1.547, allocations: 19.45 kB / 1.362 GB, free: 32.95 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.477e-06/1.547, allocations: 0 / 1.362 GB, free: 32.95 MB / 0.8386 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001585/1.547, allocations: 80.52 kB / 1.362 GB, free: 32.91 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.197e-05/1.547, allocations: 6.656 kB / 1.362 GB, free: 32.91 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.775e-06/1.547, allocations: 0 / 1.362 GB, free: 32.91 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.057e-05/1.547, allocations: 7.406 kB / 1.362 GB, free: 32.91 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001182/1.547, allocations: 13.67 kB / 1.362 GB, free: 32.9 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.571e-05/1.547, allocations: 11.23 kB / 1.362 GB, free: 32.89 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.943e-05/1.547, allocations: 3.562 kB / 1.362 GB, free: 32.89 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.642e-05/1.547, allocations: 3.438 kB / 1.362 GB, free: 32.89 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 0.0001106/1.547, allocations: 110 kB / 1.362 GB, free: 32.79 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.597e-05/1.547, allocations: 5.109 kB / 1.362 GB, free: 32.79 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.901e-05/1.547, allocations: 13.38 kB / 1.362 GB, free: 32.79 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/1.547, allocations: 7.938 kB / 1.362 GB, free: 32.78 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.178e-06/1.547, allocations: 0 / 1.362 GB, free: 32.78 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.773e-06/1.548, allocations: 3.953 kB / 1.362 GB, free: 32.77 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003803/1.548, allocations: 320.7 kB / 1.363 GB, free: 32.48 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/1.548, allocations: 0 / 1.363 GB, free: 32.48 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.525e-05/1.548, allocations: 6.359 kB / 1.363 GB, free: 32.48 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/1.548, allocations: 0 / 1.363 GB, free: 32.48 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.449e-05/1.548, allocations: 4.844 kB / 1.363 GB, free: 32.48 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.377e-06/1.548, allocations: 3.953 kB / 1.363 GB, free: 32.47 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.804e-06/1.548, allocations: 11.91 kB / 1.363 GB, free: 32.46 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001744/1.548, allocations: 161.2 kB / 1.363 GB, free: 32.33 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 4.391e-05/1.548, allocations: 84.83 kB / 1.363 GB, free: 32.23 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.84e-05/1.548, allocations: 1.875 kB / 1.363 GB, free: 32.23 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.263e-05/1.548, allocations: 9.297 kB / 1.363 GB, free: 32.23 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.771e-05/1.548, allocations: 9.391 kB / 1.363 GB, free: 32.23 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.689e-06/1.548, allocations: 5.547 kB / 1.363 GB, free: 32.22 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 7.664e-05/1.549, allocations: 92.19 kB / 1.363 GB, free: 32.15 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.4e-07/1.549, allocations: 0 / 1.363 GB, free: 32.15 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002496/1.549, allocations: 11.59 kB / 1.363 GB, free: 32.14 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.0005589/1.549, allocations: 0.6938 MB / 1.364 GB, free: 31.48 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001417/1.55, allocations: 39.16 kB / 1.364 GB, free: 31.48 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.205e-06/1.55, allocations: 0 / 1.364 GB, free: 31.48 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 5.503e-05/1.55, allocations: 23.61 kB / 1.364 GB, free: 31.47 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002415/1.55, allocations: 8.578 kB / 1.364 GB, free: 31.47 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005197/1.55, allocations: 116.7 kB / 1.364 GB, free: 31.36 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004706/1.551, allocations: 0.6888 MB / 1.365 GB, free: 30.66 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.478e-05/1.551, allocations: 4.812 kB / 1.365 GB, free: 30.66 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.053e-05/1.551, allocations: 16.88 kB / 1.365 GB, free: 30.65 MB / 0.8386 GB Notification: Performance of SimCode: time 2.3e-07/1.551, allocations: 0 / 1.365 GB, free: 30.65 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01574/1.567, allocations: 1.338 MB / 1.366 GB, free: 30.52 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002281/1.567, allocations: 189.2 kB / 1.366 GB, free: 30.29 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.644/3.211, allocations: 0 / 1.366 GB, free: 30.29 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