Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.Zhang2012WindowsSouth,fileNamePrefix="Buildings_10_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsSouth",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth,fileNamePrefix="Buildings_10_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsSouth",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.001156/0.001156, allocations: 99.38 kB / 15.37 MB, free: 0.707 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.001539/0.001539, allocations: 181.8 kB / 16.28 MB, free: 6.656 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.417/1.417, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.51/2.51, allocations: 437.8 MB / 0.7121 GB, free: 7.016 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004084/0.0004084, allocations: 8 kB / 0.873 GB, free: 3.211 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7489/0.7494, allocations: 153.8 MB / 1.023 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth): time 0.001705/0.7511, allocations: 1.219 MB / 1.024 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001246/0.7524, allocations: 0.7247 MB / 1.025 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.857e-05/0.7524, allocations: 0 / 1.025 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 2.066e-05/0.7525, allocations: 3.938 kB / 1.025 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 5.37e-05/0.7525, allocations: 11.92 kB / 1.025 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004535/0.753, allocations: 107.8 kB / 1.025 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 9.82e-05/0.7531, allocations: 67.83 kB / 1.025 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 8.097e-05/0.7532, allocations: 8 kB / 1.025 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 7.814e-05/0.7533, allocations: 35.84 kB / 1.025 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 6.679e-05/0.7533, allocations: 39.83 kB / 1.025 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.627e-05/0.7534, allocations: 4 kB / 1.025 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001736/0.7536, allocations: 83.91 kB / 1.025 GB, free: 13.53 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.198e-05/0.7536, allocations: 15.92 kB / 1.025 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 5.551e-05/0.7536, allocations: 57.55 kB / 1.025 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002181/0.7539, allocations: 137.8 kB / 1.026 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.7539, allocations: 4 kB / 1.026 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.452e-06/0.7539, allocations: 0 / 1.026 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.877e-06/0.7539, allocations: 0 / 1.026 GB, free: 13.32 MB / 0.7794 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.0006113/0.7545, allocations: 409 kB / 1.026 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.936e-05/0.7546, allocations: 8.031 kB / 1.026 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.428e-05/0.7546, allocations: 34.73 kB / 1.026 GB, free: 12.81 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.948e-05/0.7546, allocations: 8.844 kB / 1.026 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001193/0.7548, allocations: 172.3 kB / 1.026 GB, free: 12.6 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.457e-05/0.7548, allocations: 8.375 kB / 1.026 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.96e-05/0.7548, allocations: 4.375 kB / 1.026 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001747/0.755, allocations: 77.72 kB / 1.026 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.857e-06/0.755, allocations: 3.984 kB / 1.026 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.641e-05/0.755, allocations: 4 kB / 1.026 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.582e-06/0.7551, allocations: 7.938 kB / 1.026 GB, free: 12.49 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001262/0.7552, allocations: 35.98 kB / 1.026 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005797/0.7558, allocations: 328.7 kB / 1.027 GB, free: 12.08 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001196/0.7559, allocations: 54.5 kB / 1.027 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.266e-05/0.756, allocations: 36.97 kB / 1.027 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.928e-05/0.756, allocations: 0 / 1.027 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002441/0.7563, allocations: 83.28 kB / 1.027 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=7): time 1.182e-06/0.7563, allocations: 0 / 1.027 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7): time 0.0003689/0.7567, allocations: 141.6 kB / 1.027 GB, free: 11.74 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.761e-05/0.7567, allocations: 63.33 kB / 1.027 GB, free: 11.67 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.286e-05/0.7568, allocations: 121.8 kB / 1.027 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.903e-05/0.7568, allocations: 29.7 kB / 1.027 GB, free: 11.5 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.652e-05/0.7569, allocations: 96.19 kB / 1.027 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.793e-05/0.7569, allocations: 15.75 kB / 1.027 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.169e-05/0.757, allocations: 21.72 kB / 1.027 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001361/0.7571, allocations: 326.8 kB / 1.028 GB, free: 11.04 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.828e-05/0.7572, allocations: 23.98 kB / 1.028 GB, free: 11.01 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.282e-05/0.7573, allocations: 50.55 kB / 1.028 GB, free: 10.95 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001599/0.7575, allocations: 78.5 kB / 1.028 GB, free: 10.87 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.7575, allocations: 4 kB / 1.028 GB, free: 10.86 MB / 0.7794 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002368/0.7577, allocations: 121.8 kB / 1.028 GB, free: 10.74 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.247e-05/0.7577, allocations: 6.031 kB / 1.028 GB, free: 10.73 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.107e-06/0.7577, allocations: 0 / 1.028 GB, free: 10.73 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.271e-05/0.7578, allocations: 4 kB / 1.028 GB, free: 10.73 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.19e-05/0.7579, allocations: 11.98 kB / 1.028 GB, free: 10.72 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.044e-05/0.7579, allocations: 4.062 kB / 1.028 GB, free: 10.71 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.512e-05/0.7579, allocations: 19.86 kB / 1.028 GB, free: 10.7 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.398e-05/0.758, allocations: 8 kB / 1.028 GB, free: 10.69 MB / 0.7794 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.658e-05/0.7581, allocations: 129.6 kB / 1.028 GB, free: 10.55 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.566e-05/0.7581, allocations: 7.906 kB / 1.028 GB, free: 10.55 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.908e-05/0.7581, allocations: 8.375 kB / 1.028 GB, free: 10.54 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.7581, allocations: 0 / 1.028 GB, free: 10.54 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.097e-06/0.7581, allocations: 0 / 1.028 GB, free: 10.54 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/0.7581, allocations: 3.984 kB / 1.028 GB, free: 10.53 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004044/0.7585, allocations: 382.5 kB / 1.028 GB, free: 10.1 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.905e-06/0.7586, allocations: 3.984 kB / 1.028 GB, free: 10.1 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.899e-05/0.7586, allocations: 8 kB / 1.028 GB, free: 10.09 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.7586, allocations: 3.938 kB / 1.028 GB, free: 10.09 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.076e-05/0.7586, allocations: 4 kB / 1.028 GB, free: 10.08 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.725e-06/0.7586, allocations: 3.938 kB / 1.028 GB, free: 10.08 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.7586, allocations: 0 / 1.028 GB, free: 10.08 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002658/0.7589, allocations: 219.4 kB / 1.029 GB, free: 9.848 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.378e-05/0.759, allocations: 81.02 kB / 1.029 GB, free: 9.75 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.838e-05/0.759, allocations: 4 kB / 1.029 GB, free: 9.746 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.597e-05/0.7591, allocations: 11.92 kB / 1.029 GB, free: 9.734 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.887e-05/0.7591, allocations: 4 kB / 1.029 GB, free: 9.73 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.02e-05/0.7591, allocations: 7.984 kB / 1.029 GB, free: 9.723 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.498e-05/0.7592, allocations: 91.28 kB / 1.029 GB, free: 9.633 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1e-07/0.7592, allocations: 0 / 1.029 GB, free: 9.633 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002955/0.7595, allocations: 39.98 kB / 1.029 GB, free: 9.594 MB / 0.7794 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.0007684/0.7603, allocations: 0.8208 MB / 1.03 GB, free: 8.758 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002195/0.7605, allocations: 75.84 kB / 1.03 GB, free: 8.684 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.7605, allocations: 8.125 kB / 1.03 GB, free: 8.676 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001333/0.7606, allocations: 31.98 kB / 1.03 GB, free: 8.645 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002478/0.7609, allocations: 18.22 kB / 1.03 GB, free: 8.629 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001505/0.7624, allocations: 1.509 MB / 1.031 GB, free: 7.023 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000426/0.7629, allocations: 0.6926 MB / 1.032 GB, free: 6.305 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.794e-05/0.7629, allocations: 7.984 kB / 1.032 GB, free: 6.297 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.459e-05/0.763, allocations: 23.42 kB / 1.032 GB, free: 6.273 MB / 0.7794 GB Notification: Performance of SimCode: time 2.41e-07/0.763, allocations: 0 / 1.032 GB, free: 6.273 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.132/1.895, allocations: 2.332 MB / 1.034 GB, free: 4.113 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002362/1.895, allocations: 258.4 kB / 1.035 GB, free: 3.805 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.708/4.603, allocations: 3.375 kB / 1.035 GB, free: 3.805 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe ; mkfifo Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe >> ../files/Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth_res.mat --tempDir=temp_Buildings_10_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsSouth_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsSouth.fmu > Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsSouth.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.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