Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.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.0007811/0.0007811, 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.0008122/0.0008122, 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.8925/0.8925, allocations: 177.1 MB / 202.8 MB, free: 5.738 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.67/1.67, allocations: 359 MB / 0.6037 GB, free: 11.07 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.Yun2008WindowsTOut,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTOut",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTOut",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.884e-06/1.884e-06, allocations: 0 / 0.9505 GB, free: 3.496 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.257e-05/2.446e-05, allocations: 5.375 kB / 0.9505 GB, free: 3.492 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut): time 0.003201/0.003225, allocations: 1.533 MB / 0.952 GB, free: 1.941 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.001514/0.004739, allocations: 0.7911 MB / 0.9527 GB, free: 1.145 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.697e-05/0.004806, allocations: 11.94 kB / 0.9528 GB, free: 1.133 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 3.217e-05/0.004838, allocations: 3.938 kB / 0.9528 GB, free: 1.129 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 6.203e-05/0.0049, allocations: 19.78 kB / 0.9528 GB, free: 1.109 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.000659/0.005559, allocations: 155.4 kB / 0.9529 GB, free: 0.957 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.0001594/0.005719, allocations: 103.7 kB / 0.953 GB, free: 0.8555 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001179/0.005837, allocations: 8 kB / 0.953 GB, free: 0.8477 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002371/0.006074, allocations: 75.8 kB / 0.9531 GB, free: 0.7734 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 9.815e-05/0.006172, allocations: 43.88 kB / 0.9531 GB, free: 0.7305 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 2.738e-05/0.006199, allocations: 12 kB / 0.9532 GB, free: 0.7188 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003098/0.006509, allocations: 135.7 kB / 0.9533 GB, free: 0.5859 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 3.759e-05/0.006547, allocations: 23.95 kB / 0.9533 GB, free: 0.5625 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 6.768e-05/0.006614, allocations: 31.92 kB / 0.9533 GB, free: 0.5312 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.000374/0.006988, allocations: 203.3 kB / 0.9535 GB, free: 340 kB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 2.986e-06/0.006991, allocations: 0 / 0.9535 GB, free: 340 kB / 0.9011 GB Notification: Performance of FrontEnd: time 1.944e-06/0.006993, allocations: 0 / 0.9535 GB, free: 340 kB / 0.9011 GB Notification: Performance of Transformations before backend: time 6.663e-06/0.007, allocations: 0 / 0.9535 GB, free: 340 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.0008285/0.007828, allocations: 393.2 kB / 0.9539 GB, free: 15.91 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 5.567e-05/0.007884, allocations: 12.03 kB / 0.9539 GB, free: 15.89 MB / 0.9167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.229e-05/0.007936, allocations: 34.75 kB / 0.954 GB, free: 15.85 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000411/0.008347, allocations: 52.8 kB / 0.954 GB, free: 15.8 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002422/0.00859, allocations: 129.7 kB / 0.9541 GB, free: 15.65 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.342e-05/0.008623, allocations: 8.375 kB / 0.9541 GB, free: 15.64 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.978e-05/0.008643, allocations: 4.375 kB / 0.9541 GB, free: 15.64 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002294/0.008872, allocations: 86.12 kB / 0.9542 GB, free: 15.55 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.083e-05/0.008883, allocations: 4.188 kB / 0.9542 GB, free: 15.54 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.893e-05/0.008902, allocations: 8.125 kB / 0.9542 GB, free: 15.54 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.715e-06/0.00891, allocations: 4 kB / 0.9542 GB, free: 15.53 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001365/0.009046, allocations: 43.97 kB / 0.9543 GB, free: 15.49 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005198/0.009566, allocations: 291.8 kB / 0.9546 GB, free: 15.16 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001172/0.009683, allocations: 58.48 kB / 0.9546 GB, free: 15.09 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.77e-05/0.009751, allocations: 44.83 kB / 0.9547 GB, free: 15.05 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 2.179e-05/0.009773, allocations: 0 / 0.9547 GB, free: 15.05 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001514/0.009924, allocations: 87.36 kB / 0.9547 GB, free: 14.95 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=8): time 1.733e-06/0.009926, allocations: 0 / 0.9547 GB, free: 14.95 MB / 0.9167 GB Notification: Performance of matching and sorting (n=8): time 0.0003846/0.01031, allocations: 193.7 kB / 0.9549 GB, free: 14.75 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.765e-05/0.01035, allocations: 59.39 kB / 0.955 GB, free: 14.68 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.325e-05/0.01043, allocations: 132.6 kB / 0.9551 GB, free: 14.55 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.632e-05/0.01045, allocations: 33.69 kB / 0.9551 GB, free: 14.51 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 5.145e-05/0.0105, allocations: 88.14 kB / 0.9552 GB, free: 14.42 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 1.907e-05/0.01052, allocations: 19.84 kB / 0.9552 GB, free: 14.4 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.985e-05/0.01056, allocations: 29.7 kB / 0.9553 GB, free: 14.36 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 8.736e-05/0.01065, allocations: 322.8 kB / 0.9556 GB, free: 14.04 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.828e-05/0.01069, allocations: 23.98 kB / 0.9556 GB, free: 14.02 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.028e-05/0.01076, allocations: 70.77 kB / 0.9557 GB, free: 13.93 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001203/0.01088, allocations: 100.2 kB / 0.9558 GB, free: 13.82 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.001e-06/0.01089, allocations: 7.875 kB / 0.9558 GB, free: 13.81 MB / 0.9167 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001675/0.01106, allocations: 129.5 kB / 0.9559 GB, free: 13.68 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.366e-05/0.01107, allocations: 10.44 kB / 0.9559 GB, free: 13.67 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.01108, allocations: 0 / 0.9559 GB, free: 13.67 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.257e-05/0.01109, allocations: 4.094 kB / 0.9559 GB, free: 13.67 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.621e-05/0.01116, allocations: 27.86 kB / 0.9559 GB, free: 13.64 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.511e-06/0.01116, allocations: 0 / 0.9559 GB, free: 13.64 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.741e-05/0.0112, allocations: 11.98 kB / 0.9559 GB, free: 13.63 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.336e-05/0.01121, allocations: 4 kB / 0.9559 GB, free: 13.62 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 8.033e-05/0.01129, allocations: 121.8 kB / 0.9561 GB, free: 13.5 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.159e-05/0.0113, allocations: 11.94 kB / 0.9561 GB, free: 13.48 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.867e-05/0.01133, allocations: 12.42 kB / 0.9561 GB, free: 13.47 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.507e-06/0.01134, allocations: 4 kB / 0.9561 GB, free: 13.46 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.01134, allocations: 4 kB / 0.9561 GB, free: 13.46 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.01135, allocations: 0 / 0.9561 GB, free: 13.46 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003741/0.01172, allocations: 401.7 kB / 0.9565 GB, free: 13.02 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.01172, allocations: 0 / 0.9565 GB, free: 13.02 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.917e-05/0.01174, allocations: 4 kB / 0.9565 GB, free: 13.02 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.372e-06/0.01174, allocations: 0 / 0.9565 GB, free: 13.02 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.115e-05/0.01175, allocations: 3.984 kB / 0.9565 GB, free: 13.01 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.01175, allocations: 4 kB / 0.9565 GB, free: 13.01 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.01176, allocations: 0 / 0.9565 GB, free: 13.01 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002363/0.01199, allocations: 263.4 kB / 0.9567 GB, free: 12.73 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 1.121e-05/0.012, allocations: 11.89 kB / 0.9568 GB, free: 12.72 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.668e-05/0.01202, allocations: 0 / 0.9568 GB, free: 12.72 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.918e-05/0.01207, allocations: 7.984 kB / 0.9568 GB, free: 12.71 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.231e-05/0.01211, allocations: 7.984 kB / 0.9568 GB, free: 12.71 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.002e-05/0.01212, allocations: 4 kB / 0.9568 GB, free: 12.7 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 4.469e-05/0.01217, allocations: 95.27 kB / 0.9569 GB, free: 12.61 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.01217, allocations: 0 / 0.9569 GB, free: 12.61 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.000217/0.01238, allocations: 47.86 kB / 0.9569 GB, free: 12.56 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.0007167/0.0131, allocations: 0.8476 MB / 0.9577 GB, free: 11.7 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001845/0.01328, allocations: 84.02 kB / 0.9578 GB, free: 11.62 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.373e-06/0.01329, allocations: 8 kB / 0.9578 GB, free: 11.61 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 7.272e-05/0.01336, 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.0001933/0.01355, allocations: 15.92 kB / 0.9579 GB, free: 11.55 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001486/0.01504, allocations: 1.595 MB / 0.9594 GB, free: 9.855 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.665e-05/0.01508, allocations: 79.33 kB / 0.9595 GB, free: 9.758 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 3.497e-05/0.01512, allocations: 12.06 kB / 0.9595 GB, free: 9.746 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.976e-05/0.01516, allocations: 20.5 kB / 0.9595 GB, free: 9.727 MB / 0.9167 GB Notification: Performance of SimCode: time 5.71e-07/0.01516, allocations: 0 / 0.9595 GB, free: 9.727 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0162/0.03136, allocations: 3.778 MB / 0.9632 GB, free: 6.09 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.953/6.984, allocations: 8.953 kB / 0.9632 GB, free: 6.086 MB / 0.9167 GB " [Timeout remaining time 293] (rm -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut_res.mat --tempDir=temp_Buildings_11_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTOut_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTOut.fmu > Buildings_11_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTOut.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.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: 11.030852789059281]