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.409/2.409, allocations: 393.5 MB / 408.4 MB, free: 10.89 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.001133/0.001133, allocations: 183.9 kB / 0.4901 GB, free: 2.109 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.508/1.508, allocations: 223.1 MB / 0.7992 GB, free: 15.67 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.0008587/0.0008587, allocations: 108.2 kB / 0.9396 GB, free: 2.871 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003548/0.0003549, allocations: 13.25 kB / 1.09 GB, free: 212.5 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2875/0.2879, allocations: 143 MB / 1.229 GB, free: 85.4 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2118/0.4998, allocations: 151 MB / 1.377 GB, free: 14.21 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000251/0.5001, allocations: 79.95 kB / 1.377 GB, free: 14.13 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.003316/0.5034, allocations: 1.119 MB / 1.378 GB, free: 13.01 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.013e-06/0.5034, allocations: 0 / 1.378 GB, free: 13.01 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 7.915e-06/0.5035, allocations: 0 / 1.378 GB, free: 13.01 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004658/0.5039, allocations: 415.5 kB / 1.378 GB, free: 12.54 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.267e-05/0.504, allocations: 8.031 kB / 1.378 GB, free: 12.54 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.611e-05/0.504, allocations: 38.55 kB / 1.378 GB, free: 12.49 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.077e-05/0.5041, allocations: 11.86 kB / 1.378 GB, free: 12.48 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001383/0.5042, allocations: 171 kB / 1.379 GB, free: 12.27 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.095e-05/0.5043, allocations: 0 / 1.379 GB, free: 12.27 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.231e-05/0.5043, allocations: 4 kB / 1.379 GB, free: 12.27 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001793/0.5045, allocations: 61.67 kB / 1.379 GB, free: 12.2 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.057e-06/0.5045, allocations: 3.984 kB / 1.379 GB, free: 12.2 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.679e-06/0.5045, allocations: 4 kB / 1.379 GB, free: 12.19 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.657e-06/0.5045, allocations: 0 / 1.379 GB, free: 12.19 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001342/0.5046, allocations: 39.97 kB / 1.379 GB, free: 12.15 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004547/0.5051, allocations: 296.7 kB / 1.379 GB, free: 11.81 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001512/0.5053, allocations: 42.55 kB / 1.379 GB, free: 11.76 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 2.089e-05/0.5053, allocations: 4 kB / 1.379 GB, free: 11.76 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001949/0.5055, allocations: 75.48 kB / 1.379 GB, free: 11.67 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=5): time 1.513e-06/0.5055, allocations: 0 / 1.379 GB, free: 11.67 MB / 0.8855 GB Notification: Performance of matching and sorting (n=5): time 0.0004093/0.5059, allocations: 129.5 kB / 1.379 GB, free: 11.54 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.071e-05/0.506, allocations: 55.41 kB / 1.379 GB, free: 11.47 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001114/0.5061, allocations: 113 kB / 1.379 GB, free: 11.35 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 3.835e-05/0.5062, allocations: 25.7 kB / 1.379 GB, free: 11.32 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 7.814e-05/0.5062, allocations: 92.12 kB / 1.379 GB, free: 11.23 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 1.641e-05/0.5063, allocations: 3.906 kB / 1.379 GB, free: 11.22 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.272e-06/0.5063, allocations: 4 kB / 1.379 GB, free: 11.22 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001493/0.5064, allocations: 314.8 kB / 1.38 GB, free: 10.9 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.208e-05/0.5065, allocations: 23.98 kB / 1.38 GB, free: 10.88 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.638e-05/0.5066, allocations: 48.28 kB / 1.38 GB, free: 10.82 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.62e-05/0.5067, allocations: 27.92 kB / 1.38 GB, free: 10.79 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.368e-06/0.5067, allocations: 4 kB / 1.38 GB, free: 10.79 MB / 0.8855 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002087/0.5069, allocations: 93.77 kB / 1.38 GB, free: 10.69 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.203e-05/0.507, allocations: 9.094 kB / 1.38 GB, free: 10.68 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.552e-06/0.507, allocations: 0 / 1.38 GB, free: 10.68 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.19e-05/0.507, allocations: 7.984 kB / 1.38 GB, free: 10.67 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.159e-05/0.5071, allocations: 19.88 kB / 1.38 GB, free: 10.65 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.206e-06/0.5071, allocations: 3.953 kB / 1.38 GB, free: 10.65 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.378e-05/0.5072, allocations: 11.97 kB / 1.38 GB, free: 10.64 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.628e-06/0.5072, allocations: 4 kB / 1.38 GB, free: 10.63 MB / 0.8855 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 () * Number of clocked 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.0001065/0.5073, allocations: 114.6 kB / 1.38 GB, free: 10.51 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.715e-05/0.5074, allocations: 11.91 kB / 1.38 GB, free: 10.5 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.638e-05/0.5074, allocations: 7.969 kB / 1.38 GB, free: 10.49 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.5074, allocations: 0 / 1.38 GB, free: 10.49 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.03e-06/0.5074, allocations: 0 / 1.38 GB, free: 10.49 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.642e-06/0.5074, allocations: 7.953 kB / 1.38 GB, free: 10.48 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004809/0.5079, allocations: 354.5 kB / 1.38 GB, free: 10.08 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.5079, allocations: 0 / 1.38 GB, free: 10.08 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.419e-05/0.508, allocations: 7.984 kB / 1.38 GB, free: 10.07 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.508, allocations: 0 / 1.38 GB, free: 10.07 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.152e-05/0.508, allocations: 4 kB / 1.38 GB, free: 10.07 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.919e-06/0.508, allocations: 3.953 kB / 1.38 GB, free: 10.07 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.508, allocations: 0 / 1.38 GB, free: 10.07 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002862/0.5083, allocations: 195.4 kB / 1.381 GB, free: 9.859 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 5.347e-05/0.5084, allocations: 81.11 kB / 1.381 GB, free: 9.762 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.106e-05/0.5084, allocations: 4.359 kB / 1.381 GB, free: 9.758 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.119e-05/0.5085, allocations: 8 kB / 1.381 GB, free: 9.75 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.96e-05/0.5086, allocations: 15.94 kB / 1.381 GB, free: 9.734 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.023e-06/0.5086, allocations: 0 / 1.381 GB, free: 9.734 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 6.338e-05/0.5086, allocations: 91.22 kB / 1.381 GB, free: 9.645 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5087, allocations: 0 / 1.381 GB, free: 9.645 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0002327/0.5089, allocations: 8 kB / 1.381 GB, free: 9.637 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: 4 (bli.sampleTrigger,$whenCondition1,bli.occ,bli.blindState) * Number of discrete states: 0 () * Number of clocked 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.0006509/0.5095, allocations: 0.7398 MB / 1.382 GB, free: 8.871 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0002201/0.5098, allocations: 59.97 kB / 1.382 GB, free: 8.812 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.5098, allocations: 0 / 1.382 GB, free: 8.812 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.000104/0.5099, allocations: 39.97 kB / 1.382 GB, free: 8.773 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000174/0.5101, allocations: 6.578 kB / 1.382 GB, free: 8.77 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009669/0.5111, allocations: 1.006 MB / 1.383 GB, free: 7.695 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00031/0.5114, allocations: 0.6887 MB / 1.383 GB, free: 6.98 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 3.537e-05/0.5114, allocations: 3.984 kB / 1.383 GB, free: 6.977 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.106e-05/0.5115, allocations: 15.44 kB / 1.383 GB, free: 6.965 MB / 0.8855 GB Notification: Performance of SimCode: time 4.31e-07/0.5115, allocations: 0 / 1.383 GB, free: 6.965 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01282/0.5243, allocations: 1.343 MB / 1.385 GB, free: 5.801 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001948/0.5246, allocations: 214.5 kB / 1.385 GB, free: 5.559 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.624/2.148, allocations: 2.375 kB / 1.385 GB, free: 5.559 MB / 0.8855 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