Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009487/0.0009487, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008983/0.0008983, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8811/0.8811, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.62/1.62, allocations: 359 MB / 0.6037 GB, free: 11.1 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTIn",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTIn",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 0 / 0.9505 GB, free: 3.547 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.623e-05/1.772e-05, allocations: 2.281 kB / 0.9505 GB, free: 3.543 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn): time 0.001927/0.001945, allocations: 1.537 MB / 0.952 GB, free: 1.988 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.001232/0.003177, allocations: 0.7911 MB / 0.9527 GB, free: 1.191 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.35e-05/0.003251, allocations: 4 kB / 0.9528 GB, free: 1.188 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 3.152e-05/0.003282, allocations: 11.88 kB / 0.9528 GB, free: 1.176 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 5.269e-05/0.003335, allocations: 15.8 kB / 0.9528 GB, free: 1.16 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005954/0.00393, allocations: 151.4 kB / 0.9529 GB, free: 1.012 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.0001184/0.004049, allocations: 111.7 kB / 0.953 GB, free: 0.9023 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 9.553e-05/0.004144, allocations: 7.938 kB / 0.953 GB, free: 0.8945 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000149/0.004293, allocations: 75.86 kB / 0.9531 GB, free: 0.8203 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 6.409e-05/0.004357, allocations: 43.86 kB / 0.9532 GB, free: 0.7773 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.884e-05/0.004376, allocations: 12 kB / 0.9532 GB, free: 0.7656 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002/0.004576, allocations: 143.7 kB / 0.9533 GB, free: 0.625 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 2.912e-05/0.004605, allocations: 23.89 kB / 0.9533 GB, free: 0.6016 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 4.67e-05/0.004652, allocations: 31.95 kB / 0.9534 GB, free: 0.5703 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0002456/0.004898, allocations: 195.5 kB / 0.9535 GB, free: 388 kB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.004901, allocations: 3.938 kB / 0.9535 GB, free: 384 kB / 0.9011 GB Notification: Performance of FrontEnd: time 1.673e-06/0.004902, allocations: 3.938 kB / 0.9535 GB, free: 380 kB / 0.9011 GB Notification: Performance of Transformations before backend: time 4.168e-06/0.004907, allocations: 0 / 0.9535 GB, free: 380 kB / 0.9011 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005236/0.00543, allocations: 389.2 kB / 0.9539 GB, free: 15.95 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.564e-05/0.005466, allocations: 8.031 kB / 0.9539 GB, free: 15.94 MB / 0.9167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.356e-05/0.005499, allocations: 46.73 kB / 0.954 GB, free: 15.89 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002522/0.005752, allocations: 44.81 kB / 0.954 GB, free: 15.84 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002091/0.005961, allocations: 129.7 kB / 0.9541 GB, free: 15.69 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.146e-05/0.005982, allocations: 8.375 kB / 0.9541 GB, free: 15.68 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.396e-05/0.005996, allocations: 4.375 kB / 0.9541 GB, free: 15.68 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001804/0.006176, allocations: 90.11 kB / 0.9542 GB, free: 15.59 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.804e-06/0.006184, allocations: 4.188 kB / 0.9542 GB, free: 15.58 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.343e-05/0.006198, allocations: 12.12 kB / 0.9542 GB, free: 15.57 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.9e-06/0.006203, allocations: 0 / 0.9542 GB, free: 15.57 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002851/0.006488, allocations: 47.95 kB / 0.9543 GB, free: 15.52 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004906/0.006978, allocations: 287.9 kB / 0.9546 GB, free: 15.2 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001141/0.007092, allocations: 62.52 kB / 0.9546 GB, free: 15.13 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.009e-05/0.007163, allocations: 44.83 kB / 0.9547 GB, free: 15.08 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 1.999e-05/0.007183, allocations: 0 / 0.9547 GB, free: 15.08 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001461/0.007329, allocations: 103.5 kB / 0.9548 GB, free: 14.97 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=8): time 1.062e-06/0.00733, allocations: 0 / 0.9548 GB, free: 14.97 MB / 0.9167 GB Notification: Performance of matching and sorting (n=8): time 0.0003738/0.007703, allocations: 189.5 kB / 0.955 GB, free: 14.78 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.668e-05/0.00774, allocations: 59.39 kB / 0.955 GB, free: 14.71 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.59e-05/0.007816, allocations: 132.8 kB / 0.9551 GB, free: 14.57 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.427e-05/0.00783, allocations: 29.69 kB / 0.9552 GB, free: 14.54 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 4.215e-05/0.007872, allocations: 92.14 kB / 0.9553 GB, free: 14.44 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 1.766e-05/0.00789, allocations: 15.84 kB / 0.9553 GB, free: 14.43 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.439e-05/0.007934, allocations: 33.7 kB / 0.9553 GB, free: 14.39 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 8.233e-05/0.008017, allocations: 326.7 kB / 0.9556 GB, free: 14.06 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.388e-05/0.008071, allocations: 31.98 kB / 0.9556 GB, free: 14.03 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.268e-05/0.008133, allocations: 60.27 kB / 0.9557 GB, free: 13.95 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001121/0.008245, allocations: 100.2 kB / 0.9558 GB, free: 13.84 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.987e-06/0.008249, allocations: 3.938 kB / 0.9558 GB, free: 13.84 MB / 0.9167 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001619/0.008411, allocations: 133.4 kB / 0.9559 GB, free: 13.7 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.334e-05/0.008425, allocations: 8 kB / 0.9559 GB, free: 13.69 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.96e-06/0.00843, allocations: 0 / 0.9559 GB, free: 13.69 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.354e-05/0.008443, allocations: 8.078 kB / 0.9559 GB, free: 13.68 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.517e-05/0.008508, allocations: 12 kB / 0.956 GB, free: 13.67 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.143e-06/0.008516, allocations: 7.922 kB / 0.956 GB, free: 13.66 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.794e-05/0.008553, allocations: 12 kB / 0.956 GB, free: 13.65 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.147e-05/0.008565, allocations: 4 kB / 0.956 GB, free: 13.65 MB / 0.9167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 11 (win.curSeed,$PRE.win.curSeed,win.on,$PRE.win.on,occ.y,win.pClose,$PRE.win.pClose,win.pOpen,$PRE.win.pOpen,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 7.712e-05/0.008642, allocations: 117.8 kB / 0.9561 GB, free: 13.52 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.2e-05/0.008654, allocations: 7.953 kB / 0.9561 GB, free: 13.52 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.47e-05/0.008679, allocations: 16.42 kB / 0.9561 GB, free: 13.5 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.305e-06/0.008681, allocations: 4 kB / 0.9561 GB, free: 13.49 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.008686, allocations: 0 / 0.9561 GB, free: 13.49 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.008689, allocations: 0 / 0.9561 GB, free: 13.49 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000464/0.009153, allocations: 405.7 kB / 0.9565 GB, free: 13.05 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.009155, allocations: 0 / 0.9565 GB, free: 13.05 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.653e-05/0.009181, allocations: 7.984 kB / 0.9565 GB, free: 13.04 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.009183, allocations: 0 / 0.9565 GB, free: 13.04 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.067e-06/0.009192, allocations: 0 / 0.9565 GB, free: 13.04 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.009194, allocations: 0 / 0.9565 GB, free: 13.04 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.009195, allocations: 8.078 kB / 0.9565 GB, free: 13.03 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002766/0.009472, allocations: 267.3 kB / 0.9568 GB, free: 12.75 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 1.032e-05/0.009482, allocations: 11.89 kB / 0.9568 GB, free: 12.74 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.634e-05/0.009498, allocations: 0 / 0.9568 GB, free: 12.74 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.801e-05/0.009556, allocations: 7.984 kB / 0.9568 GB, free: 12.73 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.419e-05/0.00959, allocations: 12.03 kB / 0.9568 GB, free: 12.72 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.919e-06/0.0096, allocations: 8.047 kB / 0.9568 GB, free: 12.71 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 3.912e-05/0.009639, allocations: 95.27 kB / 0.9569 GB, free: 12.62 MB / 0.9167 GB Notification: Performance of sort global known variables: time 7e-08/0.00964, allocations: 4 kB / 0.9569 GB, free: 12.62 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0002192/0.009859, allocations: 39.88 kB / 0.9569 GB, free: 12.58 MB / 0.9167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 (win.sampleTrigger,$whenCondition1,occ.y,win.on,win.pOpen,win.pClose,win.curSeed) * Number of discrete states: 1 (win.on) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0008263/0.01069, allocations: 0.8623 MB / 0.9578 GB, free: 11.71 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001808/0.01087, allocations: 91.86 kB / 0.9579 GB, free: 11.62 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.01087, allocations: 0 / 0.9579 GB, free: 11.62 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 8.415e-05/0.01095, allocations: 43.97 kB / 0.9579 GB, free: 11.57 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001887/0.01114, allocations: 8 kB / 0.9579 GB, free: 11.57 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001134/0.01227, allocations: 1.601 MB / 0.9595 GB, free: 9.859 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.523e-05/0.01233, allocations: 75.33 kB / 0.9596 GB, free: 9.766 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 4.084e-05/0.01237, allocations: 4 kB / 0.9596 GB, free: 9.762 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.18e-05/0.01242, allocations: 24.48 kB / 0.9596 GB, free: 9.738 MB / 0.9167 GB Notification: Performance of SimCode: time 6.92e-07/0.01242, allocations: 0 / 0.9596 GB, free: 9.738 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01671/0.02913, allocations: 3.788 MB / 0.9633 GB, free: 6.09 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.067/7.096, allocations: 8.969 kB / 0.9633 GB, free: 6.086 MB / 0.9167 GB " [Timeout remaining time 293] (rm -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn_res.mat --tempDir=temp_Buildings_11_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTIn_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTIn.fmu > Buildings_11_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTIn.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.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: 10.93681050464511]