Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.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 11.1.0-maint.11.x/package.mo", uses=false) 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.Zhang2012WindowsAll,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsAll",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsAll",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.002191/0.002191, 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.002435/0.002435, allocations: 198.2 kB / 16.54 MB, free: 6.672 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.231/1.231, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.419/2.419, allocations: 469.8 MB / 0.7424 GB, free: 7.422 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001711/0.001711, allocations: 69.55 kB / 0.9087 GB, free: 34.25 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2317/0.2334, allocations: 159.1 MB / 1.064 GB, free: 14.22 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll): time 0.002419/0.2359, allocations: 1.505 MB / 1.066 GB, free: 12.7 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001146/0.237, allocations: 0.7302 MB / 1.066 GB, free: 11.97 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.143e-05/0.2371, allocations: 0 / 1.066 GB, free: 11.97 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.865e-05/0.2371, allocations: 15.86 kB / 1.066 GB, free: 11.95 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 4.875e-05/0.2372, allocations: 11.86 kB / 1.066 GB, free: 11.94 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.000483/0.2377, allocations: 123.6 kB / 1.066 GB, free: 11.82 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 9.249e-05/0.2378, allocations: 71.78 kB / 1.066 GB, free: 11.75 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 7.753e-05/0.2379, allocations: 15.98 kB / 1.066 GB, free: 11.73 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 7.681e-05/0.2379, allocations: 31.92 kB / 1.067 GB, free: 11.7 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 6.132e-05/0.238, allocations: 39.83 kB / 1.067 GB, free: 11.66 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.835e-05/0.238, allocations: 8 kB / 1.067 GB, free: 11.66 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001687/0.2382, allocations: 95.84 kB / 1.067 GB, free: 11.56 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.67e-05/0.2382, allocations: 19.92 kB / 1.067 GB, free: 11.54 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 4.297e-05/0.2383, allocations: 35.83 kB / 1.067 GB, free: 11.51 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002005/0.2385, allocations: 131.9 kB / 1.067 GB, free: 11.38 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.082e-06/0.2385, allocations: 7.984 kB / 1.067 GB, free: 11.37 MB / 0.8262 GB Notification: Performance of FrontEnd: time 9.72e-07/0.2385, allocations: 0 / 1.067 GB, free: 11.37 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 3.597e-06/0.2385, allocations: 0 / 1.067 GB, free: 11.37 MB / 0.8262 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.0005576/0.2391, allocations: 417 kB / 1.067 GB, free: 10.91 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.312e-05/0.2391, allocations: 12.03 kB / 1.067 GB, free: 10.9 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.282e-05/0.2392, allocations: 34.73 kB / 1.067 GB, free: 10.86 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.076e-05/0.2392, allocations: 8.844 kB / 1.067 GB, free: 10.85 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001188/0.2393, allocations: 180.1 kB / 1.067 GB, free: 10.63 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.168e-05/0.2393, allocations: 8.375 kB / 1.067 GB, free: 10.62 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.573e-05/0.2394, allocations: 4.375 kB / 1.067 GB, free: 10.62 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001649/0.2395, allocations: 65.78 kB / 1.068 GB, free: 10.55 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.542e-06/0.2395, allocations: 4 kB / 1.068 GB, free: 10.55 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.226e-05/0.2396, allocations: 4 kB / 1.068 GB, free: 10.54 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-06/0.2396, allocations: 4 kB / 1.068 GB, free: 10.54 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001178/0.2397, allocations: 35.97 kB / 1.068 GB, free: 10.5 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005343/0.2402, allocations: 324.6 kB / 1.068 GB, free: 10.14 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001234/0.2404, allocations: 50.55 kB / 1.068 GB, free: 10.08 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.726e-05/0.2405, allocations: 32.97 kB / 1.068 GB, free: 10.04 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.864e-05/0.2405, allocations: 4 kB / 1.068 GB, free: 10.04 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001635/0.2406, allocations: 75.31 kB / 1.068 GB, free: 9.953 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=7): time 1.303e-06/0.2407, allocations: 4 kB / 1.068 GB, free: 9.949 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7): time 0.0003521/0.241, allocations: 141.5 kB / 1.068 GB, free: 9.805 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.689e-05/0.2411, allocations: 51.41 kB / 1.068 GB, free: 9.742 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.323e-05/0.2412, allocations: 121.8 kB / 1.068 GB, free: 9.613 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.99e-05/0.2412, allocations: 29.7 kB / 1.068 GB, free: 9.578 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.277e-05/0.2412, allocations: 96.11 kB / 1.068 GB, free: 9.48 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.1e-05/0.2413, allocations: 23.73 kB / 1.068 GB, free: 9.457 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.449e-05/0.2413, allocations: 25.72 kB / 1.069 GB, free: 9.426 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001212/0.2414, allocations: 322.8 kB / 1.069 GB, free: 9.102 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.696e-05/0.2415, allocations: 27.98 kB / 1.069 GB, free: 9.074 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.481e-05/0.2416, allocations: 46.55 kB / 1.069 GB, free: 9.02 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001466/0.2418, allocations: 78.8 kB / 1.069 GB, free: 8.934 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.2418, allocations: 0 / 1.069 GB, free: 8.934 MB / 0.8262 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002198/0.242, allocations: 109.6 kB / 1.069 GB, free: 8.82 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.089e-05/0.242, allocations: 4 kB / 1.069 GB, free: 8.816 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.657e-06/0.242, allocations: 4 kB / 1.069 GB, free: 8.812 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.167e-05/0.2421, allocations: 3.984 kB / 1.069 GB, free: 8.809 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.928e-05/0.2421, allocations: 8 kB / 1.069 GB, free: 8.801 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.752e-06/0.2422, allocations: 0 / 1.069 GB, free: 8.801 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.101e-05/0.2422, allocations: 19.89 kB / 1.069 GB, free: 8.781 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.147e-06/0.2422, allocations: 7.938 kB / 1.069 GB, free: 8.773 MB / 0.8262 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 8.708e-05/0.2423, allocations: 121.8 kB / 1.069 GB, free: 8.645 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.534e-05/0.2424, allocations: 7.906 kB / 1.069 GB, free: 8.637 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.257e-05/0.2424, allocations: 12.36 kB / 1.069 GB, free: 8.625 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/0.2424, allocations: 3.984 kB / 1.069 GB, free: 8.621 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.2424, allocations: 0 / 1.069 GB, free: 8.621 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.234e-06/0.2424, allocations: 0 / 1.069 GB, free: 8.621 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004185/0.2428, allocations: 390.3 kB / 1.07 GB, free: 8.184 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.2428, allocations: 0 / 1.07 GB, free: 8.184 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.658e-05/0.2429, allocations: 8 kB / 1.07 GB, free: 8.176 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.423e-06/0.2429, allocations: 0 / 1.07 GB, free: 8.176 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.093e-05/0.2429, allocations: 4 kB / 1.07 GB, free: 8.172 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.958e-06/0.2429, allocations: 3.938 kB / 1.07 GB, free: 8.168 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.2429, allocations: 3.984 kB / 1.07 GB, free: 8.164 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000255/0.2432, allocations: 207.4 kB / 1.07 GB, free: 7.945 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.238e-05/0.2432, allocations: 85.02 kB / 1.07 GB, free: 7.844 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.611e-05/0.2432, allocations: 0 / 1.07 GB, free: 7.844 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.538e-05/0.2433, allocations: 11.92 kB / 1.07 GB, free: 7.832 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.527e-05/0.2434, allocations: 7.938 kB / 1.07 GB, free: 7.824 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.097e-05/0.2434, allocations: 7.984 kB / 1.07 GB, free: 7.816 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.17e-05/0.2434, allocations: 87.28 kB / 1.07 GB, free: 7.73 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2435, allocations: 7.938 kB / 1.07 GB, free: 7.723 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002552/0.2437, allocations: 43.98 kB / 1.07 GB, free: 7.68 MB / 0.8262 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.0007208/0.2444, allocations: 0.7918 MB / 1.071 GB, free: 6.879 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002113/0.2447, allocations: 72.22 kB / 1.071 GB, free: 6.809 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.2447, allocations: 3.938 kB / 1.071 GB, free: 6.805 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 9.453e-05/0.2448, allocations: 39.91 kB / 1.071 GB, free: 6.766 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002167/0.245, allocations: 12.25 kB / 1.071 GB, free: 6.754 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001468/0.2465, allocations: 1.478 MB / 1.072 GB, free: 5.176 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002716/0.2468, allocations: 0.6961 MB / 1.073 GB, free: 4.453 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.131e-05/0.2468, allocations: 11.92 kB / 1.073 GB, free: 4.441 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.734e-05/0.2468, allocations: 19.44 kB / 1.073 GB, free: 4.422 MB / 0.8262 GB Notification: Performance of SimCode: time 2.11e-07/0.2468, allocations: 0 / 1.073 GB, free: 4.422 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 7.084/7.331, allocations: 2.6 MB / 1.076 GB, free: 1.926 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.36/19.69, allocations: 2.453 kB / 1.076 GB, free: 1.926 MB / 0.8262 GB (rm -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll_res.mat --tempDir=temp_Buildings_11_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsAll_fmu --startTime=0 --stopTime=3600 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsAll.fmu > Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsAll.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.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