Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.Zhang2012WindowsAll,fileNamePrefix="Buildings_10_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsAll",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll,fileNamePrefix="Buildings_10_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.0007645/0.0007644, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.00654/0.00654, allocations: 170.7 kB / 16.26 MB, free: 6.676 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.473/1.473, allocations: 223.3 MB / 240.3 MB, free: 5.328 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.524/2.524, allocations: 437.8 MB / 0.7121 GB, free: 7 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003107/0.0003108, allocations: 11.98 kB / 0.8729 GB, free: 3.203 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7114/0.7117, allocations: 153.8 MB / 1.023 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll): time 0.001667/0.7134, allocations: 1.223 MB / 1.024 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001161/0.7146, allocations: 0.713 MB / 1.025 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.079e-05/0.7147, allocations: 0 / 1.025 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.591e-05/0.7147, allocations: 0 / 1.025 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 6.126e-05/0.7148, allocations: 15.86 kB / 1.025 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004712/0.7152, allocations: 111.8 kB / 1.025 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001004/0.7153, allocations: 67.77 kB / 1.025 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 8.824e-05/0.7154, allocations: 12 kB / 1.025 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 7.87e-05/0.7155, allocations: 27.91 kB / 1.025 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 6.833e-05/0.7156, allocations: 39.83 kB / 1.025 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.589e-05/0.7156, allocations: 8 kB / 1.025 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001707/0.7158, allocations: 87.84 kB / 1.025 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.512e-05/0.7158, allocations: 15.92 kB / 1.025 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 6.37e-05/0.7159, allocations: 57.55 kB / 1.025 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002024/0.7161, allocations: 137.8 kB / 1.026 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.818e-06/0.7161, allocations: 0 / 1.026 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.083e-06/0.7161, allocations: 0 / 1.026 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.14e-06/0.7161, 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.0005714/0.7167, allocations: 409 kB / 1.026 GB, free: 12.87 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.875e-05/0.7168, allocations: 12.03 kB / 1.026 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.313e-05/0.7168, allocations: 38.67 kB / 1.026 GB, free: 12.81 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.084e-05/0.7169, allocations: 8.844 kB / 1.026 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000118/0.717, allocations: 168.3 kB / 1.026 GB, free: 12.6 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.739e-05/0.717, allocations: 8.375 kB / 1.026 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.871e-05/0.717, allocations: 4.375 kB / 1.026 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001912/0.7172, allocations: 77.77 kB / 1.026 GB, free: 12.51 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.594e-06/0.7173, allocations: 4 kB / 1.026 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.152e-05/0.7173, allocations: 0 / 1.026 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.857e-06/0.7173, allocations: 0 / 1.026 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000136/0.7174, allocations: 47.91 kB / 1.026 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005762/0.718, allocations: 328.6 kB / 1.027 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000127/0.7181, allocations: 50.55 kB / 1.027 GB, free: 12.03 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.635e-05/0.7182, allocations: 36.97 kB / 1.027 GB, free: 11.99 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.303e-05/0.7183, allocations: 4 kB / 1.027 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001812/0.7185, allocations: 87.23 kB / 1.027 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=7): time 1.413e-06/0.7185, allocations: 0 / 1.027 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7): time 0.0003847/0.7189, allocations: 145.6 kB / 1.027 GB, free: 11.74 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.928e-05/0.7189, allocations: 59.39 kB / 1.027 GB, free: 11.67 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.013e-05/0.719, allocations: 117.8 kB / 1.027 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.963e-05/0.719, allocations: 33.7 kB / 1.027 GB, free: 11.5 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.012e-05/0.7191, allocations: 92.19 kB / 1.027 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.049e-05/0.7191, allocations: 15.81 kB / 1.027 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.33e-05/0.7191, allocations: 17.72 kB / 1.027 GB, free: 11.37 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001023/0.7193, allocations: 326.8 kB / 1.028 GB, free: 11.04 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.796e-05/0.7193, allocations: 27.98 kB / 1.028 GB, free: 11.02 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.231e-05/0.7194, allocations: 54.92 kB / 1.028 GB, free: 10.95 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001589/0.7196, allocations: 74.56 kB / 1.028 GB, free: 10.87 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.7196, allocations: 0 / 1.028 GB, free: 10.87 MB / 0.7794 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002427/0.7199, allocations: 121.5 kB / 1.028 GB, free: 10.75 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.438e-05/0.7199, allocations: 4 kB / 1.028 GB, free: 10.74 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.129e-06/0.7199, allocations: 0 / 1.028 GB, free: 10.74 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.573e-05/0.7199, allocations: 8.062 kB / 1.028 GB, free: 10.73 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.12e-05/0.72, allocations: 15.92 kB / 1.028 GB, free: 10.72 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.762e-06/0.72, allocations: 0 / 1.028 GB, free: 10.72 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.951e-05/0.7201, allocations: 19.92 kB / 1.028 GB, free: 10.7 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.241e-05/0.7201, allocations: 0 / 1.028 GB, free: 10.7 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 0.0001068/0.7202, allocations: 126.2 kB / 1.028 GB, free: 10.57 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.496e-05/0.7203, allocations: 3.906 kB / 1.028 GB, free: 10.56 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.061e-05/0.7203, allocations: 16.38 kB / 1.028 GB, free: 10.54 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.7203, allocations: 0 / 1.028 GB, free: 10.54 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.7203, allocations: 3.938 kB / 1.028 GB, free: 10.54 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/0.7203, allocations: 3.984 kB / 1.028 GB, free: 10.54 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004395/0.7208, allocations: 386.4 kB / 1.028 GB, free: 10.1 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.7208, allocations: 0 / 1.028 GB, free: 10.1 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.659e-05/0.7208, allocations: 8 kB / 1.028 GB, free: 10.09 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.7208, allocations: 0 / 1.028 GB, free: 10.09 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.277e-06/0.7208, allocations: 0 / 1.028 GB, free: 10.09 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.691e-06/0.7209, allocations: 7.938 kB / 1.028 GB, free: 10.09 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.7209, allocations: 4 kB / 1.028 GB, free: 10.08 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002669/0.7211, allocations: 219.3 kB / 1.029 GB, free: 9.852 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.599e-05/0.7212, allocations: 85.02 kB / 1.029 GB, free: 9.75 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.508e-05/0.7212, allocations: 0 / 1.029 GB, free: 9.75 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.006e-05/0.7213, allocations: 11.92 kB / 1.029 GB, free: 9.738 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.157e-05/0.7214, allocations: 11.98 kB / 1.029 GB, free: 9.727 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.014e-05/0.7214, allocations: 7.984 kB / 1.029 GB, free: 9.719 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.494e-05/0.7214, allocations: 91.44 kB / 1.029 GB, free: 9.629 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.01e-07/0.7214, allocations: 0 / 1.029 GB, free: 9.629 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002714/0.7217, allocations: 39.98 kB / 1.029 GB, free: 9.59 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.000742/0.7224, allocations: 0.8143 MB / 1.03 GB, free: 8.762 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002233/0.7227, allocations: 71.97 kB / 1.03 GB, free: 8.691 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.7227, allocations: 0 / 1.03 GB, free: 8.691 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 9.62e-05/0.7228, allocations: 39.92 kB / 1.03 GB, free: 8.652 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002497/0.7231, allocations: 21.03 kB / 1.03 GB, free: 8.633 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001505/0.7246, allocations: 1.52 MB / 1.031 GB, free: 7.02 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002398/0.7248, allocations: 0.6887 MB / 1.032 GB, free: 6.305 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.39e-05/0.7249, allocations: 8 kB / 1.032 GB, free: 6.297 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.376e-05/0.7249, allocations: 19.42 kB / 1.032 GB, free: 6.277 MB / 0.7794 GB Notification: Performance of SimCode: time 3.31e-07/0.7249, allocations: 0 / 1.032 GB, free: 6.277 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.114/1.839, allocations: 2.309 MB / 1.034 GB, free: 4.117 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002181/1.84, allocations: 263.1 kB / 1.034 GB, free: 3.855 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.002/4.841, allocations: 5.875 kB / 1.034 GB, free: 3.852 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe ; mkfifo Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe >> ../files/Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll_res.mat --tempDir=temp_Buildings_10_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsAll_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsAll.fmu > Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsAll.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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