Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.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.Windows.Validation.Rijal2007WindowsTInTOutTComf,fileNamePrefix="Buildings_latest_Buildings_Occupants_Office_Windows_Validation_Rijal2007WindowsTInTOutTComf",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf,fileNamePrefix="Buildings_latest_Buildings_Occupants_Office_Windows_Validation_Rijal2007WindowsTInTOutTComf",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.265/2.265, allocations: 393.5 MB / 408.4 MB, free: 11.04 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.001458/0.001458, allocations: 183.6 kB / 0.4901 GB, free: 2.242 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.596/1.596, allocations: 223.1 MB / 0.7992 GB, free: 14.76 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.0008684/0.0008684, allocations: 105 kB / 0.9396 GB, free: 1.945 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003723/0.0003721, allocations: 15.62 kB / 1.09 GB, free: 216.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2817/0.2821, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1879/0.47, allocations: 152.5 MB / 1.378 GB, free: 1.043 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002968/0.4704, allocations: 87.94 kB / 1.378 GB, free: 0.957 MB / 0.8698 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.01288/0.4833, allocations: 3.887 MB / 1.382 GB, free: 13.05 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.684e-06/0.4833, allocations: 4 kB / 1.382 GB, free: 13.05 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 8.465e-06/0.4834, allocations: 4 kB / 1.382 GB, free: 13.05 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.000765/0.4841, allocations: 0.5406 MB / 1.383 GB, free: 12.43 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.915e-05/0.4842, allocations: 8.031 kB / 1.383 GB, free: 12.43 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.044e-05/0.4843, allocations: 42.55 kB / 1.383 GB, free: 12.38 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.54e-05/0.4843, allocations: 19.7 kB / 1.383 GB, free: 12.36 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001251/0.4844, allocations: 171 kB / 1.383 GB, free: 12.15 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.553e-05/0.4845, allocations: 7.984 kB / 1.383 GB, free: 12.14 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.646e-05/0.4845, allocations: 12 kB / 1.383 GB, free: 12.13 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004416/0.485, allocations: 145.6 kB / 1.383 GB, free: 11.98 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.835e-06/0.485, allocations: 3.938 kB / 1.383 GB, free: 11.98 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.938e-05/0.485, allocations: 8 kB / 1.383 GB, free: 11.97 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.485, allocations: 0 / 1.383 GB, free: 11.97 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00039/0.4854, allocations: 127.8 kB / 1.383 GB, free: 11.84 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009522/0.4864, allocations: 412.5 kB / 1.384 GB, free: 11.39 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003659/0.4868, allocations: 122.4 kB / 1.384 GB, free: 11.26 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 2.124e-05/0.4868, allocations: 4 kB / 1.384 GB, free: 11.26 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004026/0.4872, allocations: 155.2 kB / 1.384 GB, free: 11.09 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=9): time 1.462e-06/0.4872, allocations: 0 / 1.384 GB, free: 11.09 MB / 0.8855 GB Notification: Performance of matching and sorting (n=9): time 0.001111/0.4883, allocations: 353.2 kB / 1.384 GB, free: 10.74 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.982e-05/0.4884, allocations: 55.39 kB / 1.384 GB, free: 10.68 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001137/0.4885, allocations: 136.9 kB / 1.384 GB, free: 10.53 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 2.3e-05/0.4885, allocations: 33.7 kB / 1.384 GB, free: 10.49 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 7.107e-05/0.4886, allocations: 100.8 kB / 1.384 GB, free: 10.39 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 2.761e-05/0.4886, allocations: 27.8 kB / 1.384 GB, free: 10.36 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.402e-06/0.4887, allocations: 0 / 1.384 GB, free: 10.36 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001053/0.4888, allocations: 322.8 kB / 1.385 GB, free: 10.04 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001284/0.4889, allocations: 51.91 kB / 1.385 GB, free: 9.988 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001451/0.4891, allocations: 88.56 kB / 1.385 GB, free: 9.887 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001396/0.4892, allocations: 55.97 kB / 1.385 GB, free: 9.832 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.4892, allocations: 0 / 1.385 GB, free: 9.832 MB / 0.8855 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003554/0.4896, allocations: 173.4 kB / 1.385 GB, free: 9.656 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.733e-05/0.4896, allocations: 4 kB / 1.385 GB, free: 9.652 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.267e-06/0.4896, allocations: 7.953 kB / 1.385 GB, free: 9.645 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.44e-05/0.4896, allocations: 0 / 1.385 GB, free: 9.645 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001576/0.4898, allocations: 32.05 kB / 1.385 GB, free: 9.613 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.099e-05/0.4898, allocations: 4 kB / 1.385 GB, free: 9.609 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001202/0.4899, allocations: 19.83 kB / 1.385 GB, free: 9.59 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.626e-05/0.49, allocations: 8 kB / 1.385 GB, free: 9.582 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.win.curSeed,win.curSeed,$PRE.win.on,win.on,occ.y,$PRE.win.p,win.p,$whenCondition1,win.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.0001135/0.4901, allocations: 119.5 kB / 1.385 GB, free: 9.457 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.469e-05/0.4901, allocations: 7.906 kB / 1.385 GB, free: 9.449 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.947e-05/0.4902, allocations: 16.7 kB / 1.385 GB, free: 9.434 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.388e-06/0.4902, allocations: 7.953 kB / 1.385 GB, free: 9.426 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.4902, allocations: 0 / 1.385 GB, free: 9.426 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.427e-06/0.4902, allocations: 4 kB / 1.385 GB, free: 9.422 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009923/0.4912, allocations: 0.553 MB / 1.386 GB, free: 8.812 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.083e-06/0.4912, allocations: 0 / 1.386 GB, free: 8.812 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.114e-05/0.4913, allocations: 15.98 kB / 1.386 GB, free: 8.797 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.4e-06/0.4913, allocations: 3.953 kB / 1.386 GB, free: 8.793 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.203e-05/0.4913, allocations: 11.98 kB / 1.386 GB, free: 8.781 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.4914, allocations: 0 / 1.386 GB, free: 8.781 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.103e-06/0.4914, allocations: 0 / 1.386 GB, free: 8.781 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007769/0.4921, allocations: 359.1 kB / 1.386 GB, free: 8.414 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 5.369e-05/0.4922, allocations: 89 kB / 1.386 GB, free: 8.309 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.486e-05/0.4923, allocations: 11.95 kB / 1.386 GB, free: 8.297 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002176/0.4925, allocations: 28.16 kB / 1.386 GB, free: 8.27 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.304e-05/0.4925, allocations: 7.984 kB / 1.386 GB, free: 8.262 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.146e-05/0.4926, allocations: 11.94 kB / 1.386 GB, free: 8.25 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 8.066e-05/0.4927, allocations: 113.1 kB / 1.386 GB, free: 8.141 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.633e-06/0.4927, allocations: 0 / 1.386 GB, free: 8.141 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0004097/0.4931, allocations: 59.92 kB / 1.387 GB, free: 8.082 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: 6 (win.sampleTrigger,$whenCondition1,occ.y,win.on,win.p,win.curSeed) * Number of discrete states: 1 (win.on) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.001381/0.4945, allocations: 0.9565 MB / 1.387 GB, free: 7.113 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0005213/0.495, allocations: 163.9 kB / 1.388 GB, free: 6.953 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 4.018e-06/0.495, allocations: 7.938 kB / 1.388 GB, free: 6.945 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0003289/0.4954, allocations: 104.2 kB / 1.388 GB, free: 6.844 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002103/0.4956, allocations: 7.953 kB / 1.388 GB, free: 6.836 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001301/0.4969, allocations: 1.29 MB / 1.389 GB, free: 5.473 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002507/0.4972, allocations: 0.7043 MB / 1.39 GB, free: 4.742 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 7.023e-05/0.4972, allocations: 12.17 kB / 1.39 GB, free: 4.73 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.049e-05/0.4973, allocations: 31.42 kB / 1.39 GB, free: 4.699 MB / 0.8855 GB Notification: Performance of SimCode: time 5.31e-07/0.4973, allocations: 0 / 1.39 GB, free: 4.699 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01508/0.5124, allocations: 3.238 MB / 1.393 GB, free: 1.645 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002439/0.5127, allocations: 245 kB / 1.393 GB, free: 1.316 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.786/2.299, allocations: 4 kB / 1.393 GB, free: 1.312 MB / 0.8855 GB (rm -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf_res.mat --tempDir=temp_Buildings_latest_Buildings_Occupants_Office_Windows_Validation_Rijal2007WindowsTInTOutTComf_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Occupants_Office_Windows_Validation_Rijal2007WindowsTInTOutTComf.fmu > Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf_res.mat does not exist to compare? outputFormat=mat