Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001741/0.001741, allocations: 105.6 kB / 16.45 MB, free: 6.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001667/0.001667, allocations: 187.7 kB / 19.4 MB, free: 3.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.461/1.461, allocations: 225.6 MB / 247.8 MB, free: 3.746 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.633/2.633, allocations: 443.5 MB / 0.7287 GB, free: 14.51 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Occupants_Office_Windows_Validation_Rijal2007WindowsTInTOutTComf",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf,fileNamePrefix="Buildings_10_Buildings_Occupants_Office_Windows_Validation_Rijal2007WindowsTInTOutTComf",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002023/0.002023, allocations: 63.89 kB / 1.056 GB, free: 2.496 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3192/0.3212, allocations: 160.7 MB / 1.213 GB, free: 1.457 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf): time 0.002982/0.3242, allocations: 1.626 MB / 1.214 GB, free: 15.81 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001494/0.3257, allocations: 0.8148 MB / 1.215 GB, free: 14.99 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.077e-05/0.3257, allocations: 0 / 1.215 GB, free: 14.99 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.51e-05/0.3257, allocations: 11.86 kB / 1.215 GB, free: 14.98 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 7.183e-05/0.3258, allocations: 23.8 kB / 1.215 GB, free: 14.95 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006074/0.3264, allocations: 155.5 kB / 1.215 GB, free: 14.8 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001987/0.3266, allocations: 155.5 kB / 1.216 GB, free: 14.65 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001884/0.3268, allocations: 21.05 kB / 1.216 GB, free: 14.62 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000121/0.3269, allocations: 63.83 kB / 1.216 GB, free: 14.56 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001209/0.327, allocations: 83.66 kB / 1.216 GB, free: 14.48 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.811e-05/0.3271, allocations: 12 kB / 1.216 GB, free: 14.47 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002281/0.3273, allocations: 111.8 kB / 1.216 GB, free: 14.36 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 4.621e-05/0.3273, allocations: 43.88 kB / 1.216 GB, free: 14.32 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 7.561e-05/0.3274, allocations: 55.72 kB / 1.216 GB, free: 14.26 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0003393/0.3278, allocations: 203.3 kB / 1.216 GB, free: 14.06 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.888e-06/0.3278, allocations: 0 / 1.216 GB, free: 14.06 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.283e-06/0.3278, allocations: 0 / 1.216 GB, free: 14.06 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.551e-06/0.3278, allocations: 0 / 1.216 GB, free: 14.06 MB / 0.9669 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.0009284/0.3287, allocations: 0.5483 MB / 1.217 GB, free: 13.44 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.141e-05/0.3287, allocations: 12.03 kB / 1.217 GB, free: 13.43 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.495e-05/0.3288, allocations: 42.75 kB / 1.217 GB, free: 13.38 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.422e-05/0.3288, allocations: 8.891 kB / 1.217 GB, free: 13.37 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001716/0.329, allocations: 201.6 kB / 1.217 GB, free: 13.14 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.214e-05/0.329, allocations: 4.375 kB / 1.217 GB, free: 13.13 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.84e-05/0.3291, allocations: 8.375 kB / 1.217 GB, free: 13.12 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004743/0.3295, allocations: 137.7 kB / 1.217 GB, free: 12.98 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.848e-06/0.3295, allocations: 8 kB / 1.217 GB, free: 12.98 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.596e-05/0.3296, allocations: 0 / 1.217 GB, free: 12.98 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.649e-06/0.3296, allocations: 0 / 1.217 GB, free: 12.98 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003864/0.3299, allocations: 99.91 kB / 1.217 GB, free: 12.88 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009074/0.3309, allocations: 388.5 kB / 1.218 GB, free: 12.45 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003629/0.3312, allocations: 94.5 kB / 1.218 GB, free: 12.35 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003526/0.3316, allocations: 88.77 kB / 1.218 GB, free: 12.26 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.065e-05/0.3316, allocations: 0 / 1.218 GB, free: 12.26 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004544/0.332, allocations: 139.2 kB / 1.218 GB, free: 12.11 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=9): time 1.273e-06/0.332, allocations: 0 / 1.218 GB, free: 12.11 MB / 0.9669 GB Notification: Performance of matching and sorting (n=9): time 0.00109/0.3331, allocations: 309.6 kB / 1.218 GB, free: 11.8 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.136e-05/0.3332, allocations: 59.55 kB / 1.218 GB, free: 11.73 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001496/0.3333, allocations: 140.5 kB / 1.218 GB, free: 11.58 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.882e-05/0.3334, allocations: 33.8 kB / 1.218 GB, free: 11.54 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 7.772e-05/0.3334, allocations: 112.2 kB / 1.219 GB, free: 11.43 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.011e-05/0.3335, allocations: 31.89 kB / 1.219 GB, free: 11.4 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000106/0.3336, allocations: 33.64 kB / 1.219 GB, free: 11.36 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001722/0.3337, allocations: 326.8 kB / 1.219 GB, free: 11.03 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001241/0.3339, allocations: 35.97 kB / 1.219 GB, free: 11 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001672/0.334, allocations: 81.12 kB / 1.219 GB, free: 10.9 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002714/0.3343, allocations: 121 kB / 1.219 GB, free: 10.76 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.3343, allocations: 8 kB / 1.219 GB, free: 10.75 MB / 0.9669 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003814/0.3347, allocations: 149.5 kB / 1.219 GB, free: 10.6 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.165e-05/0.3347, allocations: 8 kB / 1.219 GB, free: 10.59 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.703e-06/0.3347, allocations: 0 / 1.219 GB, free: 10.59 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.658e-05/0.3348, allocations: 4 kB / 1.219 GB, free: 10.59 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001556/0.3349, allocations: 19.98 kB / 1.219 GB, free: 10.57 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.264e-05/0.3349, allocations: 16.05 kB / 1.219 GB, free: 10.55 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001132/0.335, allocations: 7.953 kB / 1.219 GB, free: 10.55 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.171e-05/0.3351, allocations: 11.92 kB / 1.219 GB, free: 10.54 MB / 0.9669 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.0001284/0.3352, allocations: 121.8 kB / 1.219 GB, free: 10.41 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.558e-05/0.3352, allocations: 8.047 kB / 1.219 GB, free: 10.4 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.17e-05/0.3352, allocations: 16.7 kB / 1.219 GB, free: 10.38 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.145e-06/0.3353, allocations: 0 / 1.219 GB, free: 10.38 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.55e-06/0.3353, allocations: 0 / 1.219 GB, free: 10.38 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/0.3353, allocations: 7.984 kB / 1.219 GB, free: 10.38 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001056/0.3363, allocations: 0.5216 MB / 1.22 GB, free: 9.797 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.923e-06/0.3363, allocations: 4 kB / 1.22 GB, free: 9.793 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.329e-05/0.3364, allocations: 15.98 kB / 1.22 GB, free: 9.777 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.584e-06/0.3364, allocations: 0 / 1.22 GB, free: 9.777 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.731e-05/0.3364, allocations: 7.922 kB / 1.22 GB, free: 9.77 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.43e-05/0.3364, allocations: 7.938 kB / 1.22 GB, free: 9.762 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.3364, allocations: 0 / 1.22 GB, free: 9.762 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008432/0.3373, allocations: 331.4 kB / 1.22 GB, free: 9.422 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.463e-05/0.3373, allocations: 89 kB / 1.22 GB, free: 9.316 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.01e-05/0.3374, allocations: 0 / 1.22 GB, free: 9.316 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002358/0.3376, allocations: 27.91 kB / 1.22 GB, free: 9.289 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.516e-05/0.3377, allocations: 11.98 kB / 1.22 GB, free: 9.277 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.941e-05/0.3377, allocations: 7.984 kB / 1.22 GB, free: 9.27 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 8.215e-05/0.3378, allocations: 105.5 kB / 1.221 GB, free: 9.168 MB / 0.9669 GB Notification: Performance of sort global known variables: time 7e-08/0.3378, allocations: 0 / 1.221 GB, free: 9.168 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0003451/0.3381, allocations: 55.81 kB / 1.221 GB, free: 9.113 MB / 0.9669 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.001457/0.3396, allocations: 0.9242 MB / 1.222 GB, free: 8.18 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0005355/0.3401, allocations: 136 kB / 1.222 GB, free: 8.047 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.3401, allocations: 4 kB / 1.222 GB, free: 8.043 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0003123/0.3404, allocations: 87.86 kB / 1.222 GB, free: 7.957 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003113/0.3407, allocations: 15.92 kB / 1.222 GB, free: 7.941 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002525/0.3432, allocations: 1.776 MB / 1.224 GB, free: 6.059 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003362/0.3436, allocations: 0.704 MB / 1.224 GB, free: 5.328 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 5.893e-05/0.3436, allocations: 8.172 kB / 1.224 GB, free: 5.32 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.645e-05/0.3437, allocations: 35.42 kB / 1.224 GB, free: 5.285 MB / 0.9669 GB Notification: Performance of SimCode: time 5.71e-07/0.3437, allocations: 0 / 1.224 GB, free: 5.285 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02722/0.3709, allocations: 3.515 MB / 1.228 GB, free: 1.922 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.239/8.61, allocations: 6.188 kB / 1.228 GB, free: 1.922 MB / 0.9669 GB " [Timeout remaining time 291] (rm -f Buildings_10_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe ; mkfifo Buildings_10_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe >> ../files/Buildings_10_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf_res.mat --tempDir=temp_Buildings_10_Buildings_Occupants_Office_Windows_Validation_Rijal2007WindowsTInTOutTComf_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Occupants_Office_Windows_Validation_Rijal2007WindowsTInTOutTComf.fmu > Buildings_10_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Office_Windows_Validation_Rijal2007WindowsTInTOutTComf.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 14.610595845151693]