Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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_11_Buildings_Occupants_Office_Windows_Validation_Rijal2007WindowsTInTOutTComf",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf,fileNamePrefix="Buildings_11_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.00143/0.00143, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001691/0.001691, allocations: 192.2 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.227/1.227, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.529/2.529, allocations: 469.8 MB / 0.7424 GB, free: 7.473 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001809/0.001809, allocations: 68.94 kB / 0.9087 GB, free: 34.29 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.245/0.2468, allocations: 159.2 MB / 1.064 GB, free: 14.24 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf): time 0.002829/0.2496, allocations: 1.634 MB / 1.066 GB, free: 12.59 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001319/0.251, allocations: 0.8024 MB / 1.066 GB, free: 11.78 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.783e-05/0.251, allocations: 0 / 1.066 GB, free: 11.78 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.371e-05/0.2511, allocations: 7.875 kB / 1.066 GB, free: 11.77 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 6.765e-05/0.2512, allocations: 23.73 kB / 1.066 GB, free: 11.75 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005522/0.2517, allocations: 155.6 kB / 1.067 GB, free: 11.6 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001742/0.2519, allocations: 151.5 kB / 1.067 GB, free: 11.45 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 9.74e-05/0.252, allocations: 21.11 kB / 1.067 GB, free: 11.43 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001089/0.2521, allocations: 67.81 kB / 1.067 GB, free: 11.36 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001074/0.2523, allocations: 75.72 kB / 1.067 GB, free: 11.29 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.173e-05/0.2523, allocations: 16 kB / 1.067 GB, free: 11.27 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000198/0.2525, allocations: 103.8 kB / 1.067 GB, free: 11.17 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 4.367e-05/0.2525, allocations: 35.89 kB / 1.067 GB, free: 11.14 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 6.959e-05/0.2526, allocations: 63.7 kB / 1.067 GB, free: 11.07 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002698/0.2529, allocations: 199.7 kB / 1.067 GB, free: 10.88 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.2529, allocations: 4 kB / 1.067 GB, free: 10.88 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.243e-06/0.2529, allocations: 0 / 1.067 GB, free: 10.88 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.748e-06/0.2529, allocations: 0 / 1.067 GB, free: 10.88 MB / 0.8262 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.0007729/0.2537, allocations: 0.5368 MB / 1.068 GB, free: 10.27 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.272e-05/0.2537, allocations: 16.02 kB / 1.068 GB, free: 10.25 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.547e-05/0.2538, allocations: 34.75 kB / 1.068 GB, free: 10.21 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.6e-05/0.2538, allocations: 12.84 kB / 1.068 GB, free: 10.2 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001298/0.254, allocations: 188 kB / 1.068 GB, free: 9.973 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.443e-05/0.254, allocations: 8.375 kB / 1.068 GB, free: 9.965 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.045e-05/0.254, allocations: 4.375 kB / 1.068 GB, free: 9.961 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004367/0.2545, allocations: 145.7 kB / 1.068 GB, free: 9.812 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.063e-06/0.2545, allocations: 0 / 1.068 GB, free: 9.812 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.496e-05/0.2545, allocations: 0 / 1.068 GB, free: 9.812 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.69e-06/0.2545, allocations: 3.984 kB / 1.068 GB, free: 9.809 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003966/0.2549, allocations: 103.9 kB / 1.068 GB, free: 9.707 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007462/0.2557, allocations: 384.4 kB / 1.069 GB, free: 9.281 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003523/0.256, allocations: 106.5 kB / 1.069 GB, free: 9.168 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003051/0.2564, allocations: 76.8 kB / 1.069 GB, free: 9.09 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.327e-05/0.2564, allocations: 12.12 kB / 1.069 GB, free: 9.078 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004142/0.2568, allocations: 147.2 kB / 1.069 GB, free: 8.922 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=9): time 1.362e-06/0.2568, allocations: 0 / 1.069 GB, free: 8.922 MB / 0.8262 GB Notification: Performance of matching and sorting (n=9): time 0.00108/0.2579, allocations: 301.3 kB / 1.069 GB, free: 8.621 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.317e-05/0.258, allocations: 59.41 kB / 1.069 GB, free: 8.551 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000137/0.2581, allocations: 156.8 kB / 1.07 GB, free: 8.387 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.933e-05/0.2581, allocations: 25.7 kB / 1.07 GB, free: 8.355 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.138e-05/0.2582, allocations: 100.4 kB / 1.07 GB, free: 8.254 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.721e-05/0.2582, allocations: 23.66 kB / 1.07 GB, free: 8.23 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.543e-05/0.2583, allocations: 33.7 kB / 1.07 GB, free: 8.191 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001322/0.2584, allocations: 326.8 kB / 1.07 GB, free: 7.863 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001299/0.2586, allocations: 43.97 kB / 1.07 GB, free: 7.82 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001515/0.2587, allocations: 81.11 kB / 1.07 GB, free: 7.723 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002725/0.259, allocations: 125 kB / 1.07 GB, free: 7.582 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.259, allocations: 0 / 1.07 GB, free: 7.582 MB / 0.8262 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003546/0.2594, allocations: 157.5 kB / 1.07 GB, free: 7.422 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.218e-05/0.2594, allocations: 8 kB / 1.07 GB, free: 7.414 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.683e-06/0.2594, allocations: 4 kB / 1.07 GB, free: 7.41 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.118e-05/0.2594, allocations: 0 / 1.07 GB, free: 7.41 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001445/0.2596, allocations: 19.98 kB / 1.07 GB, free: 7.391 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.029e-06/0.2596, allocations: 0 / 1.07 GB, free: 7.391 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001084/0.2597, allocations: 19.89 kB / 1.07 GB, free: 7.371 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.542e-05/0.2597, allocations: 11.88 kB / 1.07 GB, free: 7.359 MB / 0.8262 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 (win.curSeed,$PRE.win.curSeed,win.on,$PRE.win.on,win.occ,win.p,$PRE.win.p,win.sampleTrigger,$whenCondition1) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001099/0.2598, allocations: 130.8 kB / 1.071 GB, free: 7.223 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.507e-05/0.2599, allocations: 7.906 kB / 1.071 GB, free: 7.215 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.837e-05/0.2599, allocations: 12.72 kB / 1.071 GB, free: 7.203 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.953e-06/0.2599, allocations: 0 / 1.071 GB, free: 7.203 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.606e-06/0.2599, allocations: 0 / 1.071 GB, free: 7.203 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.364e-06/0.2599, allocations: 0 / 1.071 GB, free: 7.203 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009904/0.2609, allocations: 0.5297 MB / 1.071 GB, free: 6.617 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.562e-06/0.2609, allocations: 0 / 1.071 GB, free: 6.617 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.209e-05/0.261, allocations: 20.08 kB / 1.071 GB, free: 6.598 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.261, allocations: 3.938 kB / 1.071 GB, free: 6.594 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.854e-05/0.261, allocations: 8.094 kB / 1.071 GB, free: 6.586 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.046e-06/0.261, allocations: 11.81 kB / 1.071 GB, free: 6.574 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.2611, allocations: 4 kB / 1.071 GB, free: 6.57 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007661/0.2618, allocations: 327.2 kB / 1.072 GB, free: 6.234 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.554e-05/0.2619, allocations: 81.02 kB / 1.072 GB, free: 6.137 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.236e-05/0.2619, allocations: 8 kB / 1.072 GB, free: 6.129 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002111/0.2621, allocations: 23.91 kB / 1.072 GB, free: 6.105 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.607e-05/0.2622, allocations: 11.98 kB / 1.072 GB, free: 6.094 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.254e-05/0.2622, allocations: 0 / 1.072 GB, free: 6.094 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 7.542e-05/0.2623, allocations: 112.7 kB / 1.072 GB, free: 5.984 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2623, allocations: 4 kB / 1.072 GB, free: 5.98 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.000297/0.2626, allocations: 47.98 kB / 1.072 GB, free: 5.934 MB / 0.8262 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001283/0.2639, allocations: 0.9189 MB / 1.073 GB, free: 5.004 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0005132/0.2644, allocations: 151.8 kB / 1.073 GB, free: 4.855 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/0.2644, allocations: 4 kB / 1.073 GB, free: 4.852 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0003311/0.2648, allocations: 92.17 kB / 1.073 GB, free: 4.762 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002408/0.265, allocations: 3.938 kB / 1.073 GB, free: 4.758 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002227/0.2672, allocations: 1.758 MB / 1.075 GB, free: 2.887 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003125/0.2676, allocations: 0.7079 MB / 1.075 GB, free: 2.152 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 4.7e-05/0.2676, allocations: 4 kB / 1.075 GB, free: 2.148 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.087e-05/0.2677, allocations: 31.42 kB / 1.075 GB, free: 2.117 MB / 0.8262 GB Notification: Performance of SimCode: time 2.11e-07/0.2677, allocations: 0 / 1.075 GB, free: 2.117 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8489/1.117, allocations: 3.45 MB / 1.079 GB, free: 14.8 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.15/11.26, allocations: 2.25 kB / 1.079 GB, free: 14.8 MB / 0.8419 GB (rm -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf_res.mat --tempDir=temp_Buildings_11_Buildings_Occupants_Office_Windows_Validation_Rijal2007WindowsTInTOutTComf_fmu --startTime=0 --stopTime=3600 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Occupants_Office_Windows_Validation_Rijal2007WindowsTInTOutTComf.fmu > Buildings_11_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Windows_Validation_Rijal2007WindowsTInTOutTComf.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches