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/ModelicaServices 4.0.0+maint.om/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/Buildings 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007843/0.0007844, allocations: 91.69 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008251/0.0008251, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.48/1.48, allocations: 223.3 MB / 240 MB, free: 5.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.626/2.626, allocations: 409.4 MB / 0.684 GB, free: 0.8633 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003409/0.0003411, allocations: 12 kB / 0.8378 GB, free: 6.496 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7971/0.7975, allocations: 146.8 MB / 0.9811 GB, free: 6.266 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf): time 0.002531/0.8001, allocations: 1.323 MB / 0.9824 GB, free: 4.938 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001391/0.8015, allocations: 0.7485 MB / 0.9832 GB, free: 4.18 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.603e-05/0.8016, allocations: 4 kB / 0.9832 GB, free: 4.176 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.27e-05/0.8016, allocations: 3.938 kB / 0.9832 GB, free: 4.172 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 9.005e-05/0.8017, allocations: 19.78 kB / 0.9832 GB, free: 4.152 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005402/0.8023, allocations: 111.8 kB / 0.9833 GB, free: 4.043 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001683/0.8025, allocations: 139.5 kB / 0.9834 GB, free: 3.906 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001033/0.8026, allocations: 21.11 kB / 0.9834 GB, free: 3.887 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001046/0.8027, allocations: 55.83 kB / 0.9835 GB, free: 3.832 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001295/0.8028, allocations: 75.66 kB / 0.9836 GB, free: 3.758 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.352e-05/0.8028, allocations: 8 kB / 0.9836 GB, free: 3.75 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001832/0.803, allocations: 87.91 kB / 0.9837 GB, free: 3.664 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 3.445e-05/0.8031, allocations: 23.91 kB / 0.9837 GB, free: 3.641 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 4.89e-05/0.8031, allocations: 41.64 kB / 0.9837 GB, free: 3.594 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.000212/0.8034, allocations: 157.9 kB / 0.9839 GB, free: 3.441 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.8034, allocations: 0 / 0.9839 GB, free: 3.441 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.585e-06/0.8034, allocations: 0 / 0.9839 GB, free: 3.441 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.338e-06/0.8034, allocations: 0 / 0.9839 GB, free: 3.441 MB / 0.7325 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.000778/0.8042, allocations: 0.5173 MB / 0.9844 GB, free: 2.852 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.216e-05/0.8042, allocations: 12.03 kB / 0.9844 GB, free: 2.84 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.8e-05/0.8043, allocations: 38.56 kB / 0.9844 GB, free: 2.793 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.762e-05/0.8044, allocations: 7.906 kB / 0.9844 GB, free: 2.785 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002048/0.8046, allocations: 190.8 kB / 0.9846 GB, free: 2.559 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.755e-05/0.8046, allocations: 0 / 0.9846 GB, free: 2.559 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.773e-05/0.8046, allocations: 8 kB / 0.9846 GB, free: 2.551 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004977/0.8051, allocations: 161.4 kB / 0.9848 GB, free: 2.387 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.263e-05/0.8052, allocations: 4 kB / 0.9848 GB, free: 2.383 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.053e-05/0.8052, allocations: 0 / 0.9848 GB, free: 2.383 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.374e-06/0.8052, allocations: 0 / 0.9848 GB, free: 2.383 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004097/0.8056, allocations: 123.9 kB / 0.9849 GB, free: 2.262 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009156/0.8066, allocations: 396.5 kB / 0.9853 GB, free: 1.824 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003755/0.8069, allocations: 118.5 kB / 0.9854 GB, free: 1.699 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003009/0.8073, allocations: 100.8 kB / 0.9855 GB, free: 1.598 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.422e-05/0.8073, allocations: 4 kB / 0.9855 GB, free: 1.594 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004602/0.8078, allocations: 163.2 kB / 0.9856 GB, free: 1.422 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=9): time 1.573e-06/0.8078, allocations: 0 / 0.9856 GB, free: 1.422 MB / 0.7325 GB Notification: Performance of matching and sorting (n=9): time 0.001096/0.8089, allocations: 349.3 kB / 0.986 GB, free: 1.074 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.359e-05/0.8089, allocations: 59.41 kB / 0.986 GB, free: 1.004 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001527/0.8091, allocations: 152.1 kB / 0.9862 GB, free: 0.8438 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.726e-05/0.8091, allocations: 33.7 kB / 0.9862 GB, free: 0.8047 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 7.648e-05/0.8092, allocations: 96.38 kB / 0.9863 GB, free: 0.707 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.277e-05/0.8093, allocations: 27.64 kB / 0.9863 GB, free: 0.6797 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.444e-06/0.8093, allocations: 0 / 0.9863 GB, free: 0.6797 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001495/0.8094, allocations: 318.8 kB / 0.9866 GB, free: 368 kB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001325/0.8096, allocations: 59.97 kB / 0.9867 GB, free: 308 kB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001541/0.8097, allocations: 77.12 kB / 0.9868 GB, free: 212 kB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001501/0.8099, allocations: 67.84 kB / 0.9868 GB, free: 144 kB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.8099, allocations: 0 / 0.9868 GB, free: 144 kB / 0.7325 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003957/0.8103, allocations: 169.6 kB / 0.987 GB, free: 15.96 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.327e-05/0.8103, allocations: 4.109 kB / 0.987 GB, free: 15.96 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.572e-06/0.8103, allocations: 3.938 kB / 0.987 GB, free: 15.96 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.291e-05/0.8104, allocations: 7.984 kB / 0.987 GB, free: 15.95 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001664/0.8105, allocations: 28.11 kB / 0.987 GB, free: 15.92 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.23e-05/0.8106, allocations: 7.938 kB / 0.987 GB, free: 15.91 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001095/0.8107, allocations: 19.83 kB / 0.9871 GB, free: 15.89 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.42e-05/0.8107, allocations: 8 kB / 0.9871 GB, free: 15.89 MB / 0.7481 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,win.occ,$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.0001632/0.8109, allocations: 124.9 kB / 0.9872 GB, free: 15.76 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.225e-05/0.8109, allocations: 11.91 kB / 0.9872 GB, free: 15.75 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.523e-05/0.811, allocations: 16.7 kB / 0.9872 GB, free: 15.73 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.811, allocations: 0 / 0.9872 GB, free: 15.73 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.965e-06/0.811, allocations: 0 / 0.9872 GB, free: 15.73 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.985e-06/0.811, allocations: 4 kB / 0.9872 GB, free: 15.72 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001017/0.812, allocations: 0.5571 MB / 0.9878 GB, free: 15.11 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.812, allocations: 0 / 0.9878 GB, free: 15.11 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.063e-05/0.8121, allocations: 15.98 kB / 0.9878 GB, free: 15.1 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.729e-06/0.8122, allocations: 7.938 kB / 0.9878 GB, free: 15.09 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.557e-05/0.8122, allocations: 0 / 0.9878 GB, free: 15.09 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.8122, allocations: 0 / 0.9878 GB, free: 15.09 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.8122, allocations: 3.984 kB / 0.9878 GB, free: 15.09 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007231/0.8129, allocations: 367.1 kB / 0.9881 GB, free: 14.71 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 5.076e-05/0.813, allocations: 85.02 kB / 0.9882 GB, free: 14.61 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.08e-05/0.813, allocations: 11.98 kB / 0.9882 GB, free: 14.6 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001957/0.8132, allocations: 27.97 kB / 0.9883 GB, free: 14.57 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.513e-05/0.8133, allocations: 7.984 kB / 0.9883 GB, free: 14.56 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.312e-05/0.8133, allocations: 4 kB / 0.9883 GB, free: 14.56 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 7.563e-05/0.8134, allocations: 113.7 kB / 0.9884 GB, free: 14.45 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8134, allocations: 0 / 0.9884 GB, free: 14.45 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0003627/0.8138, allocations: 47.94 kB / 0.9884 GB, free: 14.4 MB / 0.7481 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,win.occ,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.001365/0.8152, allocations: 0.9597 MB / 0.9894 GB, free: 13.43 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0004888/0.8157, allocations: 163.9 kB / 0.9895 GB, free: 13.27 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 4.919e-06/0.8157, allocations: 7.938 kB / 0.9895 GB, free: 13.26 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0003045/0.816, allocations: 100 kB / 0.9896 GB, free: 13.16 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002794/0.8163, allocations: 8 kB / 0.9896 GB, free: 13.16 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001525/0.8178, allocations: 0.8562 MB / 0.9905 GB, free: 12.23 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002715/0.8181, allocations: 0.6965 MB / 0.9911 GB, free: 11.51 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 5.903e-05/0.8182, allocations: 11.98 kB / 0.9912 GB, free: 11.5 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.402e-05/0.8182, allocations: 31.42 kB / 0.9912 GB, free: 11.47 MB / 0.7481 GB Notification: Performance of SimCode: time 4.21e-07/0.8182, allocations: 0 / 0.9912 GB, free: 11.47 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01435/0.8326, allocations: 3.071 MB / 0.9942 GB, free: 8.594 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002142/0.8329, allocations: 259.4 kB / 0.9944 GB, free: 8.254 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.931/2.764, allocations: 2.5 kB / 0.9944 GB, free: 8.254 MB / 0.7481 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) Environment - environmentSimulation: 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