Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.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 10.1.1-maint.10.0.x/package.mo", uses=false) 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.Zhang2012WindowsWest,fileNamePrefix="Buildings_10_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsWest",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest,fileNamePrefix="Buildings_10_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsWest",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.007744/0.007745, allocations: 101 kB / 15.73 MB, free: 5.992 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002347/0.002347, allocations: 196.2 kB / 16.67 MB, free: 5.93 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.425/1.425, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.68/2.68, allocations: 437 MB / 0.7105 GB, free: 4.992 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00146/0.00146, allocations: 55.91 kB / 1.018 GB, free: 15.08 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.315/0.3165, allocations: 151.6 MB / 1.166 GB, free: 7.332 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest): time 0.003234/0.3197, allocations: 1.49 MB / 1.168 GB, free: 5.824 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001417/0.3212, allocations: 0.7284 MB / 1.168 GB, free: 5.09 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.08e-05/0.3213, allocations: 0 / 1.168 GB, free: 5.09 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.849e-05/0.3214, allocations: 7.922 kB / 1.168 GB, free: 5.082 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 6.511e-05/0.3214, allocations: 15.86 kB / 1.168 GB, free: 5.066 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006476/0.3221, allocations: 119.6 kB / 1.168 GB, free: 4.949 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.000126/0.3222, allocations: 79.72 kB / 1.169 GB, free: 4.871 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001075/0.3223, allocations: 19.92 kB / 1.169 GB, free: 4.852 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 9.829e-05/0.3224, allocations: 35.91 kB / 1.169 GB, free: 4.816 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 7.38e-05/0.3225, allocations: 39.83 kB / 1.169 GB, free: 4.777 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.983e-05/0.3225, allocations: 8 kB / 1.169 GB, free: 4.77 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002092/0.3228, allocations: 95.84 kB / 1.169 GB, free: 4.676 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.659e-05/0.3228, allocations: 11.98 kB / 1.169 GB, free: 4.664 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 4.859e-05/0.3229, allocations: 35.84 kB / 1.169 GB, free: 4.629 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.00025/0.3231, allocations: 138.5 kB / 1.169 GB, free: 4.496 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.3231, allocations: 11.94 kB / 1.169 GB, free: 4.484 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.363e-06/0.3231, allocations: 0 / 1.169 GB, free: 4.484 MB / 0.92 GB Notification: Performance of Transformations before backend: time 4.589e-06/0.3231, allocations: 0 / 1.169 GB, free: 4.484 MB / 0.92 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.0006188/0.3238, allocations: 405.8 kB / 1.169 GB, free: 4.035 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.858e-05/0.3238, allocations: 12.03 kB / 1.169 GB, free: 4.023 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.935e-05/0.3239, allocations: 38.73 kB / 1.169 GB, free: 3.977 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.969e-05/0.3239, allocations: 8.844 kB / 1.169 GB, free: 3.969 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001119/0.324, allocations: 176.2 kB / 1.17 GB, free: 3.758 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.806e-05/0.3241, allocations: 4.375 kB / 1.17 GB, free: 3.754 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.843e-05/0.3241, allocations: 12.38 kB / 1.17 GB, free: 3.742 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000179/0.3243, allocations: 65.78 kB / 1.17 GB, free: 3.672 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.045e-05/0.3243, allocations: 4 kB / 1.17 GB, free: 3.668 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.388e-05/0.3243, allocations: 3.984 kB / 1.17 GB, free: 3.664 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.302e-06/0.3243, allocations: 4 kB / 1.17 GB, free: 3.66 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001235/0.3244, allocations: 31.98 kB / 1.17 GB, free: 3.629 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005888/0.325, allocations: 324.7 kB / 1.17 GB, free: 3.262 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001211/0.3252, allocations: 46.56 kB / 1.17 GB, free: 3.207 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.085e-05/0.3253, allocations: 32.97 kB / 1.17 GB, free: 3.172 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.61e-05/0.3253, allocations: 8 kB / 1.17 GB, free: 3.164 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002162/0.3255, allocations: 79.28 kB / 1.17 GB, free: 3.074 MB / 0.92 GB Notification: Performance of pre-optimization done (n=7): time 1.613e-06/0.3255, allocations: 3.938 kB / 1.17 GB, free: 3.07 MB / 0.92 GB Notification: Performance of matching and sorting (n=7): time 0.0004171/0.3259, allocations: 141.7 kB / 1.17 GB, free: 2.926 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.01e-05/0.326, allocations: 55.39 kB / 1.17 GB, free: 2.859 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.915e-05/0.3261, allocations: 133.6 kB / 1.17 GB, free: 2.719 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.631e-05/0.3261, allocations: 25.7 kB / 1.17 GB, free: 2.688 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 5.748e-05/0.3262, allocations: 96.12 kB / 1.171 GB, free: 2.59 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.751e-05/0.3262, allocations: 15.81 kB / 1.171 GB, free: 2.574 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.424e-05/0.3263, allocations: 29.7 kB / 1.171 GB, free: 2.539 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001061/0.3264, allocations: 318.8 kB / 1.171 GB, free: 2.219 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.104e-05/0.3265, allocations: 31.97 kB / 1.171 GB, free: 2.188 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.809e-05/0.3266, allocations: 42.56 kB / 1.171 GB, free: 2.137 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001494/0.3267, allocations: 78.48 kB / 1.171 GB, free: 2.051 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.3267, allocations: 0 / 1.171 GB, free: 2.051 MB / 0.92 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002393/0.327, allocations: 113.4 kB / 1.171 GB, free: 1.934 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.858e-05/0.327, allocations: 4 kB / 1.171 GB, free: 1.93 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.327, allocations: 4 kB / 1.171 GB, free: 1.926 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.448e-05/0.3271, allocations: 0 / 1.171 GB, free: 1.926 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.897e-05/0.3272, allocations: 20 kB / 1.171 GB, free: 1.906 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.145e-06/0.3272, allocations: 3.984 kB / 1.171 GB, free: 1.902 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.435e-05/0.3272, allocations: 4 kB / 1.171 GB, free: 1.898 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.214e-05/0.3273, allocations: 4 kB / 1.171 GB, free: 1.895 MB / 0.92 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 9.524e-05/0.3274, allocations: 121.7 kB / 1.171 GB, free: 1.766 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.787e-05/0.3274, allocations: 7.906 kB / 1.171 GB, free: 1.758 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.292e-05/0.3274, allocations: 16.36 kB / 1.171 GB, free: 1.742 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.3274, allocations: 0 / 1.171 GB, free: 1.742 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.199e-06/0.3274, allocations: 4 kB / 1.171 GB, free: 1.738 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.3275, allocations: 0 / 1.171 GB, free: 1.738 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004694/0.3279, allocations: 382.4 kB / 1.172 GB, free: 1.309 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.953e-06/0.3279, allocations: 0 / 1.172 GB, free: 1.309 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.38e-05/0.328, allocations: 4 kB / 1.172 GB, free: 1.305 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.407e-06/0.328, allocations: 3.938 kB / 1.172 GB, free: 1.301 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.513e-05/0.328, allocations: 7.984 kB / 1.172 GB, free: 1.293 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.135e-06/0.328, allocations: 3.938 kB / 1.172 GB, free: 1.289 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.328, allocations: 0 / 1.172 GB, free: 1.289 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002869/0.3283, allocations: 215.3 kB / 1.172 GB, free: 1.062 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 4.74e-05/0.3284, allocations: 85.02 kB / 1.172 GB, free: 0.9609 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.22e-05/0.3284, allocations: 11.98 kB / 1.172 GB, free: 0.9492 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.755e-05/0.3285, allocations: 7.938 kB / 1.172 GB, free: 0.9414 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.252e-05/0.3286, allocations: 7.984 kB / 1.172 GB, free: 0.9336 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.837e-06/0.3286, allocations: 0 / 1.172 GB, free: 0.9336 MB / 0.92 GB Notification: Performance of sorting global known variables: time 6.528e-05/0.3286, allocations: 95.27 kB / 1.172 GB, free: 0.8398 MB / 0.92 GB Notification: Performance of sort global known variables: time 4.1e-07/0.3286, allocations: 0 / 1.172 GB, free: 0.8398 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0003236/0.329, allocations: 36 kB / 1.172 GB, free: 0.8047 MB / 0.92 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.0008768/0.3299, allocations: 0.8166 MB / 1.173 GB, free: 15.98 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002453/0.3301, allocations: 63.95 kB / 1.173 GB, free: 15.91 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.3301, allocations: 0 / 1.173 GB, free: 15.91 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001039/0.3302, allocations: 35.83 kB / 1.173 GB, free: 15.88 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002737/0.3305, allocations: 11.94 kB / 1.173 GB, free: 15.87 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001671/0.3322, allocations: 1.484 MB / 1.175 GB, free: 14.29 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002539/0.3325, allocations: 0.6923 MB / 1.175 GB, free: 13.57 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 3.671e-05/0.3325, allocations: 7.984 kB / 1.175 GB, free: 13.56 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.438e-05/0.3326, allocations: 19.44 kB / 1.175 GB, free: 13.54 MB / 0.9356 GB Notification: Performance of SimCode: time 2.4e-07/0.3326, allocations: 0 / 1.175 GB, free: 13.54 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02063/0.3532, allocations: 2.64 MB / 1.178 GB, free: 11.05 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.84/8.193, allocations: 8.5 kB / 1.178 GB, free: 11.04 MB / 0.9356 GB (rm -f Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe ; mkfifo Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe >> ../files/Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest_res.mat --tempDir=temp_Buildings_10_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsWest_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsWest.fmu > Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsWest.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.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