Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.Zhang2012WindowsEast,fileNamePrefix="Buildings_9_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsEast",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast,fileNamePrefix="Buildings_9_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsEast",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.001341/0.001341, allocations: 108 kB / 15.6 MB, free: 132 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.001327/0.001327, allocations: 192.3 kB / 16.53 MB, free: 6.391 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.308/1.308, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.223/2.223, allocations: 390.3 MB / 0.6647 GB, free: 260 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001317/0.001317, allocations: 67.89 kB / 0.8126 GB, free: 14.18 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4913/0.4927, allocations: 140.4 MB / 0.9497 GB, free: 9.227 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast): time 0.002163/0.4949, allocations: 1.486 MB / 0.9512 GB, free: 8.055 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0009144/0.4958, allocations: 0.7341 MB / 0.9519 GB, free: 7.484 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.623e-05/0.4959, allocations: 5.531 kB / 0.9519 GB, free: 7.48 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.755e-05/0.4959, allocations: 7.922 kB / 0.9519 GB, free: 7.473 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.561e-05/0.4959, allocations: 13.3 kB / 0.9519 GB, free: 7.461 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004494/0.4964, allocations: 121 kB / 0.952 GB, free: 7.375 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.585e-05/0.4965, allocations: 79.12 kB / 0.9521 GB, free: 7.328 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 8.164e-05/0.4966, allocations: 10.73 kB / 0.9521 GB, free: 7.324 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.145e-05/0.4967, allocations: 41.23 kB / 0.9522 GB, free: 7.297 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.516e-05/0.4967, allocations: 39.56 kB / 0.9522 GB, free: 7.27 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.752e-05/0.4968, allocations: 7.094 kB / 0.9522 GB, free: 7.27 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001667/0.4969, allocations: 97.72 kB / 0.9523 GB, free: 7.219 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.144e-05/0.497, allocations: 10.48 kB / 0.9523 GB, free: 7.211 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.146e-05/0.497, allocations: 35.66 kB / 0.9523 GB, free: 7.184 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001808/0.4972, allocations: 135.4 kB / 0.9525 GB, free: 7.098 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.688e-06/0.4972, allocations: 1.406 kB / 0.9525 GB, free: 7.098 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.262e-06/0.4972, allocations: 0 / 0.9525 GB, free: 7.098 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.419e-06/0.4972, allocations: 0 / 0.9525 GB, free: 7.098 MB / 0.7169 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.0005061/0.4977, allocations: 431.9 kB / 0.9529 GB, free: 6.652 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.69e-05/0.4978, allocations: 9.25 kB / 0.9529 GB, free: 6.652 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.693e-05/0.4978, allocations: 36.41 kB / 0.9529 GB, free: 6.609 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.434e-05/0.4978, allocations: 3.969 kB / 0.9529 GB, free: 6.609 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.542e-05/0.4979, allocations: 176.7 kB / 0.9531 GB, free: 6.402 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.424e-05/0.4979, allocations: 2.719 kB / 0.9531 GB, free: 6.402 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.903e-05/0.498, allocations: 8.438 kB / 0.9531 GB, free: 6.398 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001608/0.4981, allocations: 67.59 kB / 0.9532 GB, free: 6.344 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.937e-06/0.4982, allocations: 7.984 kB / 0.9532 GB, free: 6.336 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.096e-05/0.4982, allocations: 1 kB / 0.9532 GB, free: 6.336 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.979e-06/0.4982, allocations: 1 kB / 0.9532 GB, free: 6.336 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001197/0.4983, allocations: 37.09 kB / 0.9532 GB, free: 6.32 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004796/0.4988, allocations: 325 kB / 0.9535 GB, free: 5.984 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001087/0.4989, allocations: 53.33 kB / 0.9536 GB, free: 5.941 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.178e-05/0.499, allocations: 31.72 kB / 0.9536 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.695e-05/0.499, allocations: 5.094 kB / 0.9536 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001381/0.4991, allocations: 73.09 kB / 0.9537 GB, free: 5.852 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.352e-06/0.4992, allocations: 0 / 0.9537 GB, free: 5.852 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0003171/0.4995, allocations: 148.8 kB / 0.9538 GB, free: 5.762 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.412e-05/0.4995, allocations: 52.84 kB / 0.9539 GB, free: 5.699 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.21e-05/0.4996, allocations: 121.5 kB / 0.954 GB, free: 5.586 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.045e-05/0.4996, allocations: 26.73 kB / 0.954 GB, free: 5.555 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.671e-05/0.4996, allocations: 94.27 kB / 0.9541 GB, free: 5.461 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.514e-05/0.4996, allocations: 14.27 kB / 0.9541 GB, free: 5.449 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.705e-05/0.4997, allocations: 30.66 kB / 0.9541 GB, free: 5.422 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.562e-05/0.4997, allocations: 328.1 kB / 0.9545 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.133e-05/0.4998, allocations: 26.61 kB / 0.9545 GB, free: 5.082 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.426e-05/0.4999, allocations: 49.52 kB / 0.9545 GB, free: 5.043 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001298/0.5, allocations: 77.81 kB / 0.9546 GB, free: 4.988 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.352e-06/0.5, allocations: 0 / 0.9546 GB, free: 4.988 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001917/0.5002, allocations: 108.6 kB / 0.9547 GB, free: 4.922 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.055e-05/0.5002, allocations: 5.781 kB / 0.9547 GB, free: 4.922 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.807e-06/0.5003, allocations: 0 / 0.9547 GB, free: 4.922 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.135e-05/0.5003, allocations: 2.344 kB / 0.9547 GB, free: 4.922 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.188e-05/0.5004, allocations: 16.52 kB / 0.9547 GB, free: 4.914 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.821e-06/0.5004, allocations: 5.094 kB / 0.9547 GB, free: 4.91 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.942e-05/0.5004, allocations: 15.33 kB / 0.9548 GB, free: 4.898 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.098e-05/0.5004, allocations: 3.281 kB / 0.9548 GB, free: 4.898 MB / 0.7169 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 5.235e-05/0.5005, allocations: 118.4 kB / 0.9549 GB, free: 4.777 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.493e-05/0.5005, allocations: 7.344 kB / 0.9549 GB, free: 4.773 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.947e-05/0.5005, allocations: 9.5 kB / 0.9549 GB, free: 4.766 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.343e-06/0.5005, allocations: 1.031 kB / 0.9549 GB, free: 4.766 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.584e-06/0.5006, allocations: 1.094 kB / 0.9549 GB, free: 4.766 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.5006, allocations: 3.984 kB / 0.9549 GB, free: 4.762 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003075/0.5009, allocations: 387 kB / 0.9553 GB, free: 4.387 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.093e-06/0.5009, allocations: 3.984 kB / 0.9553 GB, free: 4.383 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.885e-05/0.5009, allocations: 7.5 kB / 0.9553 GB, free: 4.379 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.5009, allocations: 1.188 kB / 0.9553 GB, free: 4.379 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.257e-06/0.501, allocations: 1.5 kB / 0.9553 GB, free: 4.379 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.501, allocations: 3.938 kB / 0.9553 GB, free: 4.375 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.501, allocations: 0 / 0.9553 GB, free: 4.375 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002068/0.5012, allocations: 209.4 kB / 0.9555 GB, free: 4.203 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.849e-05/0.5012, allocations: 87.52 kB / 0.9556 GB, free: 4.102 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.835e-05/0.5012, allocations: 5.5 kB / 0.9556 GB, free: 4.098 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.371e-05/0.5013, allocations: 14.48 kB / 0.9556 GB, free: 4.086 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.53e-05/0.5014, allocations: 2.719 kB / 0.9556 GB, free: 4.086 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.193e-06/0.5014, allocations: 1.562 kB / 0.9556 GB, free: 4.086 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.884e-05/0.5014, allocations: 93.23 kB / 0.9557 GB, free: 4.004 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.11e-07/0.5014, allocations: 4 kB / 0.9557 GB, free: 4 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000258/0.5017, allocations: 40.17 kB / 0.9557 GB, free: 3.988 MB / 0.7169 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.0005319/0.5022, allocations: 0.8138 MB / 0.9565 GB, free: 3.25 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002039/0.5024, allocations: 66.81 kB / 0.9566 GB, free: 3.227 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.5024, allocations: 0 / 0.9566 GB, free: 3.227 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 8.311e-05/0.5025, allocations: 40.95 kB / 0.9566 GB, free: 3.207 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000222/0.5027, allocations: 12.45 kB / 0.9566 GB, free: 3.199 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001052/0.5038, allocations: 1.476 MB / 0.9581 GB, free: 1.828 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.5e-05/0.5039, allocations: 0.6952 MB / 0.9587 GB, free: 1.117 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.131e-05/0.5039, allocations: 7.766 kB / 0.9588 GB, free: 1.113 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.404e-05/0.504, allocations: 19.12 kB / 0.9588 GB, free: 1.098 MB / 0.7169 GB Notification: Performance of SimCode: time 2.1e-07/0.504, allocations: 0 / 0.9588 GB, free: 1.098 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5333/1.037, allocations: 2.599 MB / 0.9613 GB, free: 15.71 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.587/8.625, allocations: 15.94 kB / 0.9613 GB, free: 15.71 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast_res.mat --tempDir=temp_Buildings_9_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsEast_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsEast.fmu > Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsEast.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" 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