Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.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.Yun2008WindowsTIn,fileNamePrefix="Buildings_10_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTIn",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn,fileNamePrefix="Buildings_10_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTIn",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.001297/0.001297, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001323/0.001323, allocations: 193.9 kB / 16.25 MB, free: 6.621 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.276/1.276, allocations: 222.9 MB / 239.9 MB, free: 4.523 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.675/2.675, allocations: 437 MB / 0.7101 GB, free: 5.305 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001312/0.001312, allocations: 67.89 kB / 0.8689 GB, free: 4.977 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.253/1.255, allocations: 151.6 MB / 1.017 GB, free: 2.715 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn): time 0.004922/1.26, allocations: 1.585 MB / 1.018 GB, free: 1.121 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001993/1.262, allocations: 0.7519 MB / 1.019 GB, free: 372 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001054/1.262, allocations: 0 / 1.019 GB, free: 372 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 6.444e-05/1.262, allocations: 0 / 1.019 GB, free: 372 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0001136/1.262, allocations: 15.81 kB / 1.019 GB, free: 356 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.001068/1.263, allocations: 131.7 kB / 1.019 GB, free: 224 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0002465/1.263, allocations: 99.77 kB / 1.019 GB, free: 124 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001744/1.264, allocations: 12 kB / 1.019 GB, free: 112 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000199/1.264, allocations: 47.83 kB / 1.019 GB, free: 64 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001546/1.264, allocations: 55.86 kB / 1.02 GB, free: 8 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 6.023e-05/1.264, allocations: 11.98 kB / 1.02 GB, free: 15.99 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003337/1.264, allocations: 91.81 kB / 1.02 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 6.046e-05/1.264, allocations: 27.95 kB / 1.02 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 9.202e-05/1.265, allocations: 43.8 kB / 1.02 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0004679/1.265, allocations: 165.9 kB / 1.02 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 8.777e-06/1.265, allocations: 4 kB / 1.02 GB, free: 15.67 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.234e-06/1.265, allocations: 0 / 1.02 GB, free: 15.67 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.111e-05/1.265, allocations: 0 / 1.02 GB, free: 15.67 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.001206/1.266, allocations: 458.5 kB / 1.02 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 7.399e-05/1.266, allocations: 12.03 kB / 1.02 GB, free: 15.15 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.638e-05/1.267, allocations: 30.75 kB / 1.02 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.505e-05/1.267, allocations: 8.844 kB / 1.02 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002337/1.267, allocations: 184.2 kB / 1.021 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.205e-05/1.267, allocations: 12.38 kB / 1.021 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.579e-05/1.267, allocations: 4.375 kB / 1.021 GB, free: 14.87 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003677/1.267, allocations: 89.75 kB / 1.021 GB, free: 14.78 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.3e-05/1.267, allocations: 4 kB / 1.021 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.087e-05/1.267, allocations: 0 / 1.021 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.954e-06/1.267, allocations: 3.938 kB / 1.021 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002132/1.268, allocations: 43.97 kB / 1.021 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0011/1.269, allocations: 352.6 kB / 1.021 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002166/1.269, allocations: 58.55 kB / 1.021 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001493/1.269, allocations: 48.83 kB / 1.021 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.646e-05/1.269, allocations: 4 kB / 1.021 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004112/1.27, allocations: 99.38 kB / 1.021 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=8): time 1.673e-06/1.27, allocations: 0 / 1.021 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of matching and sorting (n=8): time 0.0006825/1.27, allocations: 177.5 kB / 1.021 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.575e-05/1.27, allocations: 67.53 kB / 1.021 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001626/1.271, allocations: 121.8 kB / 1.022 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.301e-05/1.271, allocations: 29.7 kB / 1.022 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 9.948e-05/1.271, allocations: 95.98 kB / 1.022 GB, free: 13.58 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.578e-05/1.271, allocations: 23.69 kB / 1.022 GB, free: 13.56 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.865e-05/1.271, allocations: 33.7 kB / 1.022 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0002055/1.271, allocations: 322.8 kB / 1.022 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001102/1.271, allocations: 31.98 kB / 1.022 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001411/1.271, allocations: 64.2 kB / 1.022 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002316/1.272, allocations: 96.2 kB / 1.022 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/1.272, allocations: 0 / 1.022 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000314/1.272, allocations: 125.5 kB / 1.022 GB, free: 12.85 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 3.299e-05/1.272, allocations: 8 kB / 1.022 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.047e-06/1.272, allocations: 3.938 kB / 1.022 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.329e-05/1.272, allocations: 0 / 1.022 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000133/1.272, allocations: 15.98 kB / 1.022 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.546e-06/1.272, allocations: 320 / 1.022 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.936e-05/1.272, allocations: 23.98 kB / 1.022 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.897e-05/1.272, allocations: 4 kB / 1.022 GB, free: 12.79 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 0.0001666/1.272, allocations: 123.8 kB / 1.023 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.875e-05/1.272, allocations: 7.969 kB / 1.023 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.376e-05/1.273, allocations: 16.36 kB / 1.023 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.36e-06/1.273, allocations: 4 kB / 1.023 GB, free: 12.63 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.816e-06/1.273, allocations: 48 / 1.023 GB, free: 12.63 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.874e-06/1.273, allocations: 7.984 kB / 1.023 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000738/1.273, allocations: 430.3 kB / 1.023 GB, free: 12.15 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.13e-06/1.273, allocations: 0 / 1.023 GB, free: 12.15 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.132e-05/1.273, allocations: 15.86 kB / 1.023 GB, free: 12.13 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.428e-06/1.273, allocations: 0 / 1.023 GB, free: 12.13 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.232e-05/1.273, allocations: 4 kB / 1.023 GB, free: 12.13 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.755e-06/1.273, allocations: 0 / 1.023 GB, free: 12.13 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.078e-06/1.273, allocations: 3.938 kB / 1.023 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004815/1.274, allocations: 251.4 kB / 1.023 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 9.004e-05/1.274, allocations: 85.02 kB / 1.023 GB, free: 11.76 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.409e-05/1.274, allocations: 0 / 1.023 GB, free: 11.76 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000128/1.274, allocations: 7.984 kB / 1.023 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.693e-05/1.274, allocations: 7.938 kB / 1.023 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.785e-05/1.274, allocations: 7.984 kB / 1.023 GB, free: 11.74 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 9.255e-05/1.274, allocations: 102.9 kB / 1.023 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of sort global known variables: time 3.21e-07/1.274, allocations: 0 / 1.023 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0004062/1.275, allocations: 40 kB / 1.023 GB, free: 11.6 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.001521/1.276, allocations: 0.8407 MB / 1.024 GB, free: 10.75 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003727/1.277, allocations: 91.88 kB / 1.024 GB, free: 10.66 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/1.277, allocations: 0 / 1.024 GB, free: 10.66 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001579/1.277, allocations: 48.11 kB / 1.024 GB, free: 10.61 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003244/1.277, allocations: 21.47 kB / 1.024 GB, free: 10.59 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002367/1.28, allocations: 1.584 MB / 1.026 GB, free: 8.906 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004356/1.28, allocations: 0.6924 MB / 1.027 GB, free: 8.188 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 5.647e-05/1.28, allocations: 4 kB / 1.027 GB, free: 8.184 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.139e-05/1.28, allocations: 23.42 kB / 1.027 GB, free: 8.16 MB / 0.7794 GB Notification: Performance of SimCode: time 2.31e-07/1.28, allocations: 0 / 1.027 GB, free: 8.16 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01738/1.298, allocations: 2.853 MB / 1.029 GB, free: 5.453 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003773/1.298, allocations: 258.4 kB / 1.03 GB, free: 5.199 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.99/3.289, allocations: 4 kB / 1.03 GB, free: 5.195 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe ; mkfifo Buildings_10_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe >> ../files/Buildings_10_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn_res.mat --tempDir=temp_Buildings_10_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTIn_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTIn.fmu > Buildings_10_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTIn.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,win.TIn,win.occ,win.pOpen,win.on Variables in the result:TIn.amplitude,TIn.f,TIn.offset,TIn.phase,TIn.startTime,TIn.y,occ.startTime,occ.startValue,occ.y,time,win.AClose,win.AOpen,win.BClose,win.BOpen,win.TIn,win.occ,win.on,win.pClose,win.pOpen,win.samplePeriod,win.seed