Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 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.Zhang2012WindowsWest,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsWest",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest,fileNamePrefix="Buildings_11_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.004904/0.004904, allocations: 96.7 kB / 15.73 MB, free: 6.047 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.00138/0.00138, allocations: 194.8 kB / 16.67 MB, free: 5.973 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.333/1.333, allocations: 222.9 MB / 240.4 MB, free: 4.324 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.638/2.638, allocations: 469.8 MB / 0.7425 GB, free: 7.324 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001786/0.001786, allocations: 67.89 kB / 1.065 GB, free: 13.6 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2656/0.2674, allocations: 159.1 MB / 1.22 GB, free: 14.34 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest): time 0.002528/0.2699, allocations: 1.499 MB / 1.222 GB, free: 12.82 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001219/0.2712, allocations: 0.7323 MB / 1.222 GB, free: 12.09 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.679e-05/0.2712, allocations: 3.938 kB / 1.222 GB, free: 12.08 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.73e-05/0.2713, allocations: 15.86 kB / 1.222 GB, free: 12.07 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 5.012e-05/0.2713, allocations: 3.938 kB / 1.222 GB, free: 12.06 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005042/0.2718, allocations: 127.5 kB / 1.222 GB, free: 11.94 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001065/0.272, allocations: 67.84 kB / 1.223 GB, free: 11.87 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 7.824e-05/0.272, allocations: 19.94 kB / 1.223 GB, free: 11.85 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 8.214e-05/0.2721, allocations: 31.91 kB / 1.223 GB, free: 11.82 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 7.06e-05/0.2722, allocations: 39.84 kB / 1.223 GB, free: 11.78 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.884e-05/0.2722, allocations: 8 kB / 1.223 GB, free: 11.77 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001911/0.2724, allocations: 99.83 kB / 1.223 GB, free: 11.68 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.566e-05/0.2725, allocations: 19.91 kB / 1.223 GB, free: 11.66 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.697e-05/0.2725, allocations: 31.86 kB / 1.223 GB, free: 11.62 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002236/0.2727, allocations: 139.5 kB / 1.223 GB, free: 11.49 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 2.504e-06/0.2727, allocations: 4 kB / 1.223 GB, free: 11.48 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.092e-06/0.2728, allocations: 4 kB / 1.223 GB, free: 11.48 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 3.727e-06/0.2728, allocations: 0 / 1.223 GB, free: 11.48 MB / 0.9825 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.000579/0.2733, allocations: 412.7 kB / 1.223 GB, free: 11.02 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.285e-05/0.2734, allocations: 12.03 kB / 1.223 GB, free: 11.01 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.654e-05/0.2734, allocations: 38.73 kB / 1.223 GB, free: 10.96 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.437e-05/0.2735, allocations: 12.83 kB / 1.223 GB, free: 10.95 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000125/0.2736, allocations: 168.3 kB / 1.224 GB, free: 10.75 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.025e-05/0.2736, allocations: 4.375 kB / 1.224 GB, free: 10.75 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.908e-05/0.2737, allocations: 16.31 kB / 1.224 GB, free: 10.73 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001674/0.2738, allocations: 69.77 kB / 1.224 GB, free: 10.66 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.383e-06/0.2738, allocations: 0 / 1.224 GB, free: 10.66 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.252e-05/0.2739, allocations: 7.969 kB / 1.224 GB, free: 10.65 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.013e-05/0.2739, allocations: 4 kB / 1.224 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001245/0.274, allocations: 35.92 kB / 1.224 GB, free: 10.61 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005593/0.2746, allocations: 320.7 kB / 1.224 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001184/0.2747, allocations: 46.56 kB / 1.224 GB, free: 10.19 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.497e-05/0.2748, allocations: 28.97 kB / 1.224 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.936e-05/0.2748, allocations: 4 kB / 1.224 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001819/0.275, allocations: 83.31 kB / 1.224 GB, free: 10.06 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=7): time 1.383e-06/0.275, allocations: 0 / 1.224 GB, free: 10.06 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7): time 0.0003739/0.2754, allocations: 137.7 kB / 1.224 GB, free: 9.922 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.954e-05/0.2754, allocations: 55.41 kB / 1.224 GB, free: 9.855 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001051/0.2756, allocations: 125.8 kB / 1.224 GB, free: 9.723 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.318e-05/0.2756, allocations: 25.7 kB / 1.224 GB, free: 9.691 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.33e-05/0.2756, allocations: 92.14 kB / 1.225 GB, free: 9.598 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.228e-05/0.2757, allocations: 15.89 kB / 1.225 GB, free: 9.582 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.335e-05/0.2757, allocations: 33.7 kB / 1.225 GB, free: 9.543 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001328/0.2759, allocations: 322.7 kB / 1.225 GB, free: 9.219 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.819e-05/0.2759, allocations: 23.98 kB / 1.225 GB, free: 9.195 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.334e-05/0.276, allocations: 46.55 kB / 1.225 GB, free: 9.141 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001601/0.2762, allocations: 78.55 kB / 1.225 GB, free: 9.055 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.2762, allocations: 0 / 1.225 GB, free: 9.055 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002406/0.2765, allocations: 109.5 kB / 1.225 GB, free: 8.941 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.719e-05/0.2765, allocations: 15.92 kB / 1.225 GB, free: 8.926 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.998e-06/0.2765, allocations: 3.938 kB / 1.225 GB, free: 8.922 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.969e-06/0.2765, allocations: 0 / 1.225 GB, free: 8.922 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.312e-05/0.2766, allocations: 8 kB / 1.225 GB, free: 8.914 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.01e-06/0.2766, allocations: 4.062 kB / 1.225 GB, free: 8.91 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.418e-05/0.2767, allocations: 15.92 kB / 1.225 GB, free: 8.895 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.029e-05/0.2767, allocations: 4 kB / 1.225 GB, free: 8.891 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 9.489e-05/0.2768, allocations: 121.8 kB / 1.225 GB, free: 8.762 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.486e-05/0.2768, allocations: 3.953 kB / 1.225 GB, free: 8.758 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.993e-05/0.2769, allocations: 16.36 kB / 1.225 GB, free: 8.734 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.2769, allocations: 0 / 1.225 GB, free: 8.734 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.045e-06/0.2769, allocations: 4 kB / 1.225 GB, free: 8.73 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.2769, allocations: 7.938 kB / 1.225 GB, free: 8.723 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000449/0.2773, allocations: 374.8 kB / 1.226 GB, free: 8.301 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.2774, allocations: 3.938 kB / 1.226 GB, free: 8.297 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.909e-05/0.2774, allocations: 8 kB / 1.226 GB, free: 8.289 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.933e-06/0.2774, allocations: 0 / 1.226 GB, free: 8.289 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.342e-05/0.2774, allocations: 7.984 kB / 1.226 GB, free: 8.281 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.41e-06/0.2774, allocations: 3.938 kB / 1.226 GB, free: 8.277 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.2774, allocations: 0 / 1.226 GB, free: 8.277 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002807/0.2777, allocations: 211.5 kB / 1.226 GB, free: 8.055 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.423e-05/0.2778, allocations: 85.06 kB / 1.226 GB, free: 7.953 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.001e-05/0.2778, allocations: 7.984 kB / 1.226 GB, free: 7.945 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.619e-05/0.2779, allocations: 7.938 kB / 1.226 GB, free: 7.938 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.324e-05/0.2779, allocations: 4 kB / 1.226 GB, free: 7.934 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.808e-06/0.2779, allocations: 3.984 kB / 1.226 GB, free: 7.93 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.767e-05/0.278, allocations: 95.27 kB / 1.226 GB, free: 7.836 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.8e-07/0.278, allocations: 0 / 1.226 GB, free: 7.836 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002796/0.2783, allocations: 43.88 kB / 1.226 GB, free: 7.793 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.0008109/0.2791, allocations: 0.8083 MB / 1.227 GB, free: 6.977 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002231/0.2794, allocations: 75.84 kB / 1.227 GB, free: 6.902 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.2794, allocations: 0 / 1.227 GB, free: 6.902 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001004/0.2795, allocations: 39.95 kB / 1.227 GB, free: 6.863 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002289/0.2797, allocations: 14.28 kB / 1.227 GB, free: 6.852 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001558/0.2813, allocations: 1.497 MB / 1.229 GB, free: 5.262 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000282/0.2816, allocations: 0.6885 MB / 1.229 GB, free: 4.547 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.104e-05/0.2816, allocations: 8.469 kB / 1.229 GB, free: 4.539 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.326e-05/0.2817, allocations: 23.42 kB / 1.229 GB, free: 4.516 MB / 0.9825 GB Notification: Performance of SimCode: time 2.1e-07/0.2817, allocations: 0 / 1.229 GB, free: 4.516 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.123/2.404, allocations: 2.637 MB / 1.232 GB, free: 2.027 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.718/11.12, allocations: 8.375 kB / 1.232 GB, free: 2.02 MB / 0.9825 GB (rm -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest_res.mat --tempDir=temp_Buildings_11_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsWest_fmu --startTime=0 --stopTime=3600 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsWest.fmu > Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsWest.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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