Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.Yun2008WindowsTOut,fileNamePrefix="Buildings_10_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTOut",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut,fileNamePrefix="Buildings_10_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTOut",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.001266/0.001266, 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.001802/0.001802, allocations: 198.3 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.431/1.431, 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 10.1.1-maint.10.0.x/package.mo): time 2.394/2.394, allocations: 437 MB / 0.7104 GB, free: 5.086 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001479/0.001479, allocations: 67.88 kB / 0.8693 GB, free: 4.551 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.568/0.5695, allocations: 151.6 MB / 1.017 GB, free: 2.465 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut): time 0.002505/0.5721, allocations: 1.52 MB / 1.019 GB, free: 0.9336 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001202/0.5733, allocations: 0.7517 MB / 1.02 GB, free: 180 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.18e-05/0.5734, allocations: 0 / 1.02 GB, free: 180 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.954e-05/0.5734, allocations: 3.938 kB / 1.02 GB, free: 176 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 4.795e-05/0.5735, allocations: 15.88 kB / 1.02 GB, free: 160 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005073/0.574, allocations: 139.6 kB / 1.02 GB, free: 20 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001283/0.5741, allocations: 103.8 kB / 1.02 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 9.198e-05/0.5742, allocations: 12 kB / 1.02 GB, free: 15.9 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 9.142e-05/0.5743, allocations: 47.78 kB / 1.02 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 7.853e-05/0.5744, allocations: 51.81 kB / 1.02 GB, free: 15.81 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.251e-05/0.5744, allocations: 12 kB / 1.02 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001936/0.5746, allocations: 99.84 kB / 1.02 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.925e-05/0.5747, allocations: 23.91 kB / 1.02 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 5.153e-05/0.5747, allocations: 47.78 kB / 1.02 GB, free: 15.63 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.000221/0.5749, allocations: 153.9 kB / 1.02 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.575, allocations: 0 / 1.02 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.464e-06/0.575, allocations: 4 kB / 1.02 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.859e-06/0.575, allocations: 3.938 kB / 1.02 GB, free: 15.47 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005955/0.5756, allocations: 467.9 kB / 1.021 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.66e-05/0.5756, allocations: 8.031 kB / 1.021 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.852e-05/0.5757, allocations: 38.75 kB / 1.021 GB, free: 14.9 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.782e-05/0.5757, allocations: 8.844 kB / 1.021 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001006/0.5758, allocations: 176.2 kB / 1.021 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.258e-05/0.5758, allocations: 384 / 1.021 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.992e-05/0.5759, allocations: 12.38 kB / 1.021 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002162/0.5761, allocations: 89.69 kB / 1.021 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.544e-06/0.5761, allocations: 0 / 1.021 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.297e-05/0.5761, allocations: 7.938 kB / 1.021 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.797e-06/0.5761, allocations: 0 / 1.021 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001542/0.5763, allocations: 43.97 kB / 1.021 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006734/0.577, allocations: 344.6 kB / 1.021 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001518/0.5771, allocations: 66.52 kB / 1.022 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001087/0.5773, allocations: 40.84 kB / 1.022 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.923e-05/0.5773, allocations: 4 kB / 1.022 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002068/0.5775, allocations: 91.34 kB / 1.022 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=8): time 1.483e-06/0.5775, allocations: 8 kB / 1.022 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of matching and sorting (n=8): time 0.000485/0.578, allocations: 177.5 kB / 1.022 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.702e-05/0.5781, allocations: 59.55 kB / 1.022 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.519e-05/0.5781, allocations: 129.6 kB / 1.022 GB, free: 13.53 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.82e-05/0.5782, allocations: 29.7 kB / 1.022 GB, free: 13.49 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.732e-05/0.5782, allocations: 96 kB / 1.022 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.955e-05/0.5782, allocations: 19.73 kB / 1.022 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.849e-05/0.5783, allocations: 37.7 kB / 1.022 GB, free: 13.33 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.558e-05/0.5784, allocations: 322.8 kB / 1.022 GB, free: 13.01 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.586e-05/0.5785, allocations: 27.98 kB / 1.023 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.789e-05/0.5786, allocations: 56.28 kB / 1.023 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000168/0.5788, allocations: 96.2 kB / 1.023 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.5788, allocations: 0 / 1.023 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002476/0.579, allocations: 133.4 kB / 1.023 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.315e-05/0.579, allocations: 9.719 kB / 1.023 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.5791, allocations: 4.094 kB / 1.023 GB, free: 12.65 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.294e-05/0.5791, allocations: 4 kB / 1.023 GB, free: 12.65 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001099/0.5792, allocations: 16.05 kB / 1.023 GB, free: 12.63 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.693e-06/0.5792, allocations: 7.938 kB / 1.023 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.625e-05/0.5793, allocations: 11.95 kB / 1.023 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.407e-05/0.5793, allocations: 7.984 kB / 1.023 GB, free: 12.61 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 11 (win.curSeed,$PRE.win.curSeed,win.on,$PRE.win.on,occ.y,win.pClose,$PRE.win.pClose,win.pOpen,$PRE.win.pOpen,win.sampleTrigger,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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.217e-05/0.5794, allocations: 121.8 kB / 1.023 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.001e-05/0.5794, allocations: 11.91 kB / 1.023 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.618e-05/0.5794, allocations: 12.38 kB / 1.023 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.5795, allocations: 0 / 1.023 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.626e-06/0.5795, allocations: 0 / 1.023 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.5795, allocations: 0 / 1.023 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005011/0.58, allocations: 430.3 kB / 1.023 GB, free: 11.97 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/0.58, allocations: 3.984 kB / 1.023 GB, free: 11.97 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.852e-05/0.58, allocations: 4 kB / 1.023 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.58, allocations: 4 kB / 1.023 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.23e-05/0.5801, allocations: 0 / 1.023 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/0.5801, allocations: 7.922 kB / 1.023 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.5801, allocations: 11.88 kB / 1.023 GB, free: 11.94 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003399/0.5804, allocations: 239.3 kB / 1.024 GB, free: 11.69 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.685e-05/0.5805, allocations: 89.02 kB / 1.024 GB, free: 11.59 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.332e-05/0.5805, allocations: 4 kB / 1.024 GB, free: 11.58 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001068/0.5806, allocations: 7.984 kB / 1.024 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.209e-05/0.5806, allocations: 7.938 kB / 1.024 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.111e-05/0.5807, allocations: 3.984 kB / 1.024 GB, free: 11.56 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.445e-05/0.5807, allocations: 103.3 kB / 1.024 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5807, allocations: 0 / 1.024 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.000288/0.581, allocations: 40 kB / 1.024 GB, free: 11.42 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: 7 (win.sampleTrigger,$whenCondition1,occ.y,win.on,win.pOpen,win.pClose,win.curSeed) * Number of discrete states: 1 (win.on) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0008063/0.5818, allocations: 0.8386 MB / 1.025 GB, free: 10.57 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002678/0.5821, allocations: 95.88 kB / 1.025 GB, free: 10.48 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.5821, allocations: 0 / 1.025 GB, free: 10.48 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001274/0.5823, allocations: 47.97 kB / 1.025 GB, free: 10.43 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002481/0.5825, allocations: 12.06 kB / 1.025 GB, free: 10.42 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00154/0.5841, allocations: 1.574 MB / 1.026 GB, free: 8.746 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002016/0.5843, allocations: 0.6924 MB / 1.027 GB, free: 8.027 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.714e-05/0.5843, allocations: 4.078 kB / 1.027 GB, free: 8.023 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.471e-05/0.5844, allocations: 23.42 kB / 1.027 GB, free: 8 MB / 0.7794 GB Notification: Performance of SimCode: time 3.41e-07/0.5844, allocations: 0 / 1.027 GB, free: 8 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6923/1.277, allocations: 2.944 MB / 1.03 GB, free: 5.168 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.71/13.98, allocations: 9.734 kB / 1.03 GB, free: 5.16 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe ; mkfifo Buildings_10_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe >> ../files/Buildings_10_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut_res.mat --tempDir=temp_Buildings_10_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTOut_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTOut.fmu > Buildings_10_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTOut.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,win.TOut,win.occ,win.pOpen,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.AClose,win.AOpen,win.BClose,win.BOpen,win.TOut,win.occ,win.on,win.pClose,win.pOpen,win.samplePeriod,win.seed