Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.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.001681/0.001681, allocations: 106.5 kB / 16.45 MB, free: 6.488 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.002135/0.002135, allocations: 196.6 kB / 19.41 MB, free: 3.68 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.521/1.521, allocations: 225.6 MB / 247.8 MB, free: 13.95 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.778/2.778, allocations: 476.7 MB / 0.7611 GB, free: 11.3 MB / 0.6231 GB " [Timeout remaining time 177] 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.Zhang2012WindowsNorth,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsNorth",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsNorth",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00191/0.00191, allocations: 67.89 kB / 1.104 GB, free: 9.293 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7856/0.7875, allocations: 168.7 MB / 1.269 GB, free: 5.156 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth): time 0.002767/0.7903, allocations: 1.503 MB / 1.27 GB, free: 3.645 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001387/0.7917, allocations: 0.7299 MB / 1.271 GB, free: 2.91 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.209e-05/0.7917, allocations: 4 kB / 1.271 GB, free: 2.906 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 4.988e-05/0.7918, allocations: 11.88 kB / 1.271 GB, free: 2.895 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 5.237e-05/0.7918, allocations: 11.86 kB / 1.271 GB, free: 2.883 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005334/0.7924, allocations: 119.6 kB / 1.271 GB, free: 2.766 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001251/0.7925, allocations: 83.7 kB / 1.271 GB, free: 2.684 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 8.337e-05/0.7926, allocations: 11.75 kB / 1.271 GB, free: 2.676 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 8.576e-05/0.7927, allocations: 35.91 kB / 1.271 GB, free: 2.641 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 7.717e-05/0.7927, allocations: 43.83 kB / 1.271 GB, free: 2.598 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.632e-05/0.7928, allocations: 4 kB / 1.271 GB, free: 2.594 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002106/0.793, allocations: 111.8 kB / 1.271 GB, free: 2.484 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.383e-05/0.793, allocations: 15.98 kB / 1.271 GB, free: 2.469 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 4.909e-05/0.793, allocations: 31.8 kB / 1.271 GB, free: 2.438 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002508/0.7933, allocations: 133.6 kB / 1.271 GB, free: 2.309 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.7933, allocations: 4 kB / 1.272 GB, free: 2.305 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.693e-06/0.7933, allocations: 0 / 1.272 GB, free: 2.305 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.75e-06/0.7933, allocations: 0 / 1.272 GB, free: 2.305 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0007169/0.794, allocations: 424.6 kB / 1.272 GB, free: 1.836 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.746e-05/0.7941, allocations: 12.03 kB / 1.272 GB, free: 1.824 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.615e-05/0.7941, allocations: 34.75 kB / 1.272 GB, free: 1.781 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.787e-05/0.7941, allocations: 8.891 kB / 1.272 GB, free: 1.773 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002138/0.7944, allocations: 180.2 kB / 1.272 GB, free: 1.559 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3e-05/0.7944, allocations: 8.375 kB / 1.272 GB, free: 1.551 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.598e-05/0.7944, allocations: 4.375 kB / 1.272 GB, free: 1.547 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001894/0.7946, allocations: 69.77 kB / 1.272 GB, free: 1.473 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.096e-06/0.7946, allocations: 0 / 1.272 GB, free: 1.473 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.05e-05/0.7946, allocations: 0 / 1.272 GB, free: 1.473 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.7946, allocations: 4 kB / 1.272 GB, free: 1.469 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001885/0.7948, allocations: 47.91 kB / 1.272 GB, free: 1.422 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006869/0.7955, allocations: 308.7 kB / 1.273 GB, free: 1.07 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001328/0.7956, allocations: 50.48 kB / 1.273 GB, free: 1.012 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.243e-05/0.7957, allocations: 28.97 kB / 1.273 GB, free: 0.9805 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.506e-05/0.7957, allocations: 8 kB / 1.273 GB, free: 0.9727 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002421/0.796, allocations: 75.39 kB / 1.273 GB, free: 0.8867 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=7): time 1.533e-06/0.796, allocations: 0 / 1.273 GB, free: 0.8867 MB / 0.9669 GB Notification: Performance of matching and sorting (n=7): time 0.0004257/0.7964, allocations: 141.6 kB / 1.273 GB, free: 0.7422 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.069e-05/0.7965, allocations: 51.41 kB / 1.273 GB, free: 0.6797 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001271/0.7966, allocations: 133.7 kB / 1.273 GB, free: 0.5391 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.696e-05/0.7966, allocations: 29.7 kB / 1.273 GB, free: 0.5039 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 7.713e-05/0.7967, allocations: 88.14 kB / 1.273 GB, free: 424 kB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.352e-05/0.7967, allocations: 15.91 kB / 1.273 GB, free: 408 kB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.504e-05/0.7968, allocations: 29.7 kB / 1.273 GB, free: 372 kB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.000158/0.7969, allocations: 318.8 kB / 1.273 GB, free: 44 kB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.44e-05/0.797, allocations: 27.98 kB / 1.274 GB, free: 16 kB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001202/0.7971, allocations: 58.42 kB / 1.274 GB, free: 15.95 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001596/0.7973, allocations: 66.56 kB / 1.274 GB, free: 15.88 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.7973, allocations: 0 / 1.274 GB, free: 15.88 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002582/0.7976, allocations: 117.5 kB / 1.274 GB, free: 15.75 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.947e-05/0.7976, allocations: 12.06 kB / 1.274 GB, free: 15.74 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.7976, allocations: 0 / 1.274 GB, free: 15.74 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.84e-05/0.7976, allocations: 0 / 1.274 GB, free: 15.74 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001068/0.7977, allocations: 19.92 kB / 1.274 GB, free: 15.72 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.967e-06/0.7977, allocations: 4 kB / 1.274 GB, free: 15.72 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.504e-05/0.7978, allocations: 7.938 kB / 1.274 GB, free: 15.71 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.653e-05/0.7978, allocations: 7.984 kB / 1.274 GB, free: 15.7 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 9 (win.occ,win.curSeed,$PRE.win.curSeed,win.p,$PRE.win.p,win.on,$PRE.win.on,win.sampleTrigger,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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.0001337/0.7979, allocations: 125.7 kB / 1.274 GB, free: 15.57 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.834e-05/0.798, allocations: 7.953 kB / 1.274 GB, free: 15.56 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.82e-05/0.7981, allocations: 12.38 kB / 1.274 GB, free: 15.54 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.1e-06/0.7981, allocations: 3.984 kB / 1.274 GB, free: 15.54 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.7981, allocations: 0 / 1.274 GB, free: 15.54 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.7981, allocations: 0 / 1.274 GB, free: 15.54 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006656/0.7988, allocations: 382.4 kB / 1.274 GB, free: 15.11 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-06/0.7988, allocations: 0 / 1.274 GB, free: 15.11 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.937e-05/0.7988, allocations: 7.984 kB / 1.274 GB, free: 15.1 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.7988, allocations: 4 kB / 1.274 GB, free: 15.1 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.108e-05/0.7988, allocations: 4 kB / 1.274 GB, free: 15.09 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.727e-06/0.7988, allocations: 3.938 kB / 1.274 GB, free: 15.09 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.472e-06/0.7988, allocations: 0 / 1.274 GB, free: 15.09 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000296/0.7991, allocations: 211.9 kB / 1.275 GB, free: 14.87 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 9.505e-05/0.7992, allocations: 81.06 kB / 1.275 GB, free: 14.77 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.95e-05/0.7992, allocations: 0 / 1.275 GB, free: 14.77 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.5e-05/0.7993, allocations: 15.92 kB / 1.275 GB, free: 14.75 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.076e-05/0.7994, allocations: 8 kB / 1.275 GB, free: 14.75 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.277e-06/0.7994, allocations: 0 / 1.275 GB, free: 14.75 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.65e-05/0.7995, allocations: 95.27 kB / 1.275 GB, free: 14.65 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.7995, allocations: 0 / 1.275 GB, free: 14.65 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0004116/0.7999, allocations: 43.86 kB / 1.275 GB, free: 14.61 MB / 0.9825 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: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * 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.0009843/0.8009, allocations: 0.8096 MB / 1.276 GB, free: 13.79 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002308/0.8011, allocations: 71.94 kB / 1.276 GB, free: 13.72 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.8011, allocations: 0 / 1.276 GB, free: 13.72 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 9.003e-05/0.8012, allocations: 32.05 kB / 1.276 GB, free: 13.69 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002741/0.8015, allocations: 15.92 kB / 1.276 GB, free: 13.68 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001818/0.8033, allocations: 1.493 MB / 1.277 GB, free: 12.09 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004259/0.8037, allocations: 0.6961 MB / 1.278 GB, free: 11.37 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 4.424e-05/0.8037, allocations: 4 kB / 1.278 GB, free: 11.36 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.395e-05/0.8038, allocations: 19.42 kB / 1.278 GB, free: 11.34 MB / 0.9825 GB Notification: Performance of SimCode: time 4.91e-07/0.8038, allocations: 4 kB / 1.278 GB, free: 11.34 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03008/0.8339, allocations: 2.671 MB / 1.28 GB, free: 8.816 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.166/9, allocations: 6.828 kB / 1.28 GB, free: 8.812 MB / 0.9825 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth_res.mat --tempDir=temp_Buildings_11_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsNorth_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsNorth.fmu > Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsNorth.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] "" Variables in the reference:time,win.TOut,win.occ,win.p,win.on Variables in the result:TOut.amplitude,TOut.f,TOut.offset,TOut.phase,TOut.startTime,TOut.y,occ.startTime,occ.startValue,occ.y,time,win.A,win.B,win.TOut,win.occ,win.on,win.p,win.samplePeriod,win.seed [Calling sys.exit(0), Time elapsed: 15.229288075119257]