Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 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.Zhang2012WindowsSouth,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsSouth",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth,fileNamePrefix="Buildings_11_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.006453/0.006453, allocations: 98.14 kB / 15.73 MB, free: 6.062 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.00171/0.00171, allocations: 195.8 kB / 16.68 MB, free: 5.969 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.303/1.303, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.504/2.504, allocations: 469.8 MB / 0.7425 GB, free: 3.285 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00175/0.00175, allocations: 67.89 kB / 1.065 GB, free: 14.05 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6178/0.6196, allocations: 159.1 MB / 1.22 GB, free: 2.039 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth): time 0.002322/0.622, allocations: 1.499 MB / 1.222 GB, free: 0.5312 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.00107/0.623, allocations: 0.7255 MB / 1.222 GB, free: 15.8 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.126e-05/0.6231, allocations: 3.938 kB / 1.222 GB, free: 15.79 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 2.692e-05/0.6231, allocations: 3.938 kB / 1.222 GB, free: 15.79 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 4.777e-05/0.6232, allocations: 19.91 kB / 1.222 GB, free: 15.77 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004392/0.6236, allocations: 115.6 kB / 1.222 GB, free: 15.66 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0001056/0.6237, allocations: 79.66 kB / 1.223 GB, free: 15.58 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 7.185e-05/0.6238, allocations: 11.95 kB / 1.223 GB, free: 15.57 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 7.693e-05/0.6239, allocations: 39.89 kB / 1.223 GB, free: 15.53 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 6.215e-05/0.624, allocations: 39.84 kB / 1.223 GB, free: 15.49 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 1.576e-05/0.624, allocations: 4 kB / 1.223 GB, free: 15.49 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000173/0.6242, allocations: 99.84 kB / 1.223 GB, free: 15.39 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 2.548e-05/0.6242, allocations: 19.92 kB / 1.223 GB, free: 15.37 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 4.147e-05/0.6242, allocations: 35.84 kB / 1.223 GB, free: 15.34 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0002049/0.6244, allocations: 139.2 kB / 1.223 GB, free: 15.21 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 2.405e-06/0.6245, allocations: 0 / 1.223 GB, free: 15.21 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.133e-06/0.6245, allocations: 0 / 1.223 GB, free: 15.21 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 6.623e-06/0.6245, allocations: 0 / 1.223 GB, free: 15.21 MB / 0.9512 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.0005402/0.625, allocations: 420.7 kB / 1.223 GB, free: 14.74 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.118e-05/0.6251, allocations: 12.03 kB / 1.223 GB, free: 14.73 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.313e-05/0.6251, allocations: 38.75 kB / 1.223 GB, free: 14.68 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.875e-05/0.6251, allocations: 8.891 kB / 1.223 GB, free: 14.68 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001089/0.6252, allocations: 172.3 kB / 1.224 GB, free: 14.47 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.751e-05/0.6253, allocations: 384 / 1.224 GB, free: 14.47 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.917e-05/0.6253, allocations: 8.375 kB / 1.224 GB, free: 14.46 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001577/0.6255, allocations: 69.78 kB / 1.224 GB, free: 14.39 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.843e-06/0.6255, allocations: 0 / 1.224 GB, free: 14.39 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.566e-06/0.6255, allocations: 0 / 1.224 GB, free: 14.39 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.868e-06/0.6255, allocations: 0 / 1.224 GB, free: 14.39 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001214/0.6256, allocations: 51.84 kB / 1.224 GB, free: 14.34 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005147/0.6261, allocations: 316.7 kB / 1.224 GB, free: 13.98 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001165/0.6263, allocations: 46.55 kB / 1.224 GB, free: 13.92 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.878e-05/0.6264, allocations: 32.97 kB / 1.224 GB, free: 13.89 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.687e-05/0.6264, allocations: 7.984 kB / 1.224 GB, free: 13.88 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000162/0.6265, allocations: 87.31 kB / 1.224 GB, free: 13.78 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=7): time 1.263e-06/0.6266, allocations: 0 / 1.224 GB, free: 13.78 MB / 0.9512 GB Notification: Performance of matching and sorting (n=7): time 0.0003497/0.6269, allocations: 137.7 kB / 1.224 GB, free: 13.64 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.909e-05/0.627, allocations: 55.41 kB / 1.224 GB, free: 13.57 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.292e-05/0.6271, allocations: 133.7 kB / 1.224 GB, free: 13.43 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.764e-05/0.6271, allocations: 25.7 kB / 1.224 GB, free: 13.4 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 5.407e-05/0.6271, allocations: 96.08 kB / 1.225 GB, free: 13.3 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 1.729e-05/0.6272, allocations: 11.89 kB / 1.225 GB, free: 13.29 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.712e-05/0.6272, allocations: 25.72 kB / 1.225 GB, free: 13.26 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001208/0.6273, allocations: 330.7 kB / 1.225 GB, free: 12.93 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.691e-05/0.6274, allocations: 23.98 kB / 1.225 GB, free: 12.91 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.414e-05/0.6275, allocations: 50.55 kB / 1.225 GB, free: 12.85 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001475/0.6277, allocations: 70.56 kB / 1.225 GB, free: 12.77 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.6277, allocations: 0 / 1.225 GB, free: 12.77 MB / 0.9512 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002301/0.6279, allocations: 109.6 kB / 1.225 GB, free: 12.66 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.307e-05/0.6279, allocations: 8 kB / 1.225 GB, free: 12.65 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.316e-06/0.628, allocations: 3.938 kB / 1.225 GB, free: 12.64 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.047e-06/0.628, allocations: 4 kB / 1.225 GB, free: 12.64 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.104e-05/0.6281, allocations: 11.98 kB / 1.225 GB, free: 12.63 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.522e-06/0.6281, allocations: 0 / 1.225 GB, free: 12.63 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.164e-05/0.6281, allocations: 19.86 kB / 1.225 GB, free: 12.61 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.192e-05/0.6282, allocations: 4.391 kB / 1.225 GB, free: 12.61 MB / 0.9512 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.51e-05/0.6282, allocations: 121.8 kB / 1.225 GB, free: 12.48 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.522e-05/0.6283, allocations: 7.953 kB / 1.225 GB, free: 12.47 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.527e-05/0.6283, allocations: 8.375 kB / 1.225 GB, free: 12.45 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.6283, allocations: 4 kB / 1.225 GB, free: 12.45 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.6283, allocations: 0 / 1.225 GB, free: 12.45 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.968e-06/0.6283, allocations: 7.922 kB / 1.225 GB, free: 12.44 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004309/0.6287, allocations: 378.4 kB / 1.226 GB, free: 12.02 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.538e-06/0.6288, allocations: 3.984 kB / 1.226 GB, free: 12.01 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.814e-05/0.6288, allocations: 8 kB / 1.226 GB, free: 12 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.6288, allocations: 4 kB / 1.226 GB, free: 12 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.916e-06/0.6288, allocations: 0 / 1.226 GB, free: 12 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.669e-06/0.6288, allocations: 7.938 kB / 1.226 GB, free: 11.99 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.6288, allocations: 0 / 1.226 GB, free: 11.99 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002684/0.6291, allocations: 207.4 kB / 1.226 GB, free: 11.77 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 4.783e-05/0.6292, allocations: 85.06 kB / 1.226 GB, free: 11.67 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.711e-05/0.6292, allocations: 4 kB / 1.226 GB, free: 11.67 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.449e-05/0.6293, allocations: 15.92 kB / 1.226 GB, free: 11.65 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.83e-05/0.6293, allocations: 0 / 1.226 GB, free: 11.65 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.388e-06/0.6293, allocations: 4 kB / 1.226 GB, free: 11.65 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 5.285e-05/0.6294, allocations: 91.27 kB / 1.226 GB, free: 11.56 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6294, allocations: 0 / 1.226 GB, free: 11.56 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002546/0.6297, allocations: 43.86 kB / 1.226 GB, free: 11.52 MB / 0.9512 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.0007479/0.6304, allocations: 0.8209 MB / 1.227 GB, free: 10.69 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0002125/0.6306, allocations: 71.91 kB / 1.227 GB, free: 10.62 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.403e-06/0.6306, allocations: 128 / 1.227 GB, free: 10.62 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 8.988e-05/0.6307, allocations: 35.98 kB / 1.227 GB, free: 10.58 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002194/0.631, allocations: 15.92 kB / 1.227 GB, free: 10.57 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001477/0.6324, allocations: 1.492 MB / 1.229 GB, free: 8.98 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002717/0.6327, allocations: 0.6885 MB / 1.229 GB, free: 8.266 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 2.939e-05/0.6328, allocations: 4 kB / 1.229 GB, free: 8.262 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.931e-05/0.6328, allocations: 23.42 kB / 1.229 GB, free: 8.238 MB / 0.9512 GB Notification: Performance of SimCode: time 2.3e-07/0.6328, allocations: 0 / 1.229 GB, free: 8.238 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.873/2.506, allocations: 2.644 MB / 1.232 GB, free: 5.742 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.711/11.22, allocations: 17.39 kB / 1.232 GB, free: 5.727 MB / 0.9512 GB (rm -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth_res.mat --tempDir=temp_Buildings_11_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsSouth_fmu --startTime=0 --stopTime=3600 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsSouth.fmu > Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsSouth.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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