Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTIn",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn,fileNamePrefix="Buildings_9_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.00162/0.00162, allocations: 108 kB / 15.61 MB, free: 152 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.001839/0.001839, allocations: 195.5 kB / 16.53 MB, free: 6.664 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.353/1.353, allocations: 222.9 MB / 240.2 MB, free: 4.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.295/2.295, allocations: 390.2 MB / 0.6647 GB, free: 500 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001275/0.001275, allocations: 63.89 kB / 0.8127 GB, free: 14.4 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5164/0.5176, allocations: 140.4 MB / 0.9497 GB, free: 9.156 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn): time 0.002171/0.5199, allocations: 1.518 MB / 0.9512 GB, free: 7.957 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0009957/0.5209, allocations: 0.7603 MB / 0.9519 GB, free: 7.367 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.834e-05/0.5209, allocations: 0 / 0.9519 GB, free: 7.367 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3e-05/0.521, allocations: 3.938 kB / 0.9519 GB, free: 7.363 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.614e-05/0.521, allocations: 9.062 kB / 0.952 GB, free: 7.355 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004694/0.5215, allocations: 140 kB / 0.9521 GB, free: 7.254 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001065/0.5216, allocations: 103.7 kB / 0.9522 GB, free: 7.195 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 8.263e-05/0.5217, allocations: 18.14 kB / 0.9522 GB, free: 7.184 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.782e-05/0.5218, allocations: 46.83 kB / 0.9522 GB, free: 7.156 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.029e-05/0.5219, allocations: 54.84 kB / 0.9523 GB, free: 7.117 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.363e-05/0.5219, allocations: 9.719 kB / 0.9523 GB, free: 7.117 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001637/0.5221, allocations: 92.47 kB / 0.9524 GB, free: 7.074 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.743e-05/0.5221, allocations: 32.42 kB / 0.9524 GB, free: 7.047 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.275e-05/0.5221, allocations: 33.02 kB / 0.9525 GB, free: 7.023 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002008/0.5223, allocations: 177.4 kB / 0.9526 GB, free: 6.902 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.896e-06/0.5224, allocations: 0 / 0.9526 GB, free: 6.902 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.172e-06/0.5224, allocations: 1.188 kB / 0.9526 GB, free: 6.902 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.719e-06/0.5224, allocations: 4 kB / 0.9526 GB, free: 6.898 MB / 0.7169 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.0005353/0.5229, allocations: 462.6 kB / 0.9531 GB, free: 6.422 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.727e-05/0.523, allocations: 9.594 kB / 0.9531 GB, free: 6.422 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.095e-05/0.523, allocations: 32.19 kB / 0.9531 GB, free: 6.383 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.767e-05/0.523, allocations: 9.469 kB / 0.9531 GB, free: 6.379 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.582e-05/0.5231, allocations: 172.5 kB / 0.9533 GB, free: 6.176 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.439e-05/0.5231, allocations: 15.64 kB / 0.9533 GB, free: 6.164 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.997e-05/0.5232, allocations: 4.75 kB / 0.9533 GB, free: 6.164 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002391/0.5234, allocations: 98.03 kB / 0.9534 GB, free: 6.086 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.772e-06/0.5234, allocations: 1.156 kB / 0.9534 GB, free: 6.086 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.37e-05/0.5234, allocations: 0 / 0.9534 GB, free: 6.086 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.409e-06/0.5235, allocations: 2 kB / 0.9534 GB, free: 6.086 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001785/0.5236, allocations: 45.34 kB / 0.9534 GB, free: 6.066 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006911/0.5243, allocations: 351.4 kB / 0.9538 GB, free: 5.715 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001708/0.5245, allocations: 58.14 kB / 0.9538 GB, free: 5.672 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001313/0.5247, allocations: 48.92 kB / 0.9539 GB, free: 5.641 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.995e-05/0.5247, allocations: 1.094 kB / 0.9539 GB, free: 5.641 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002164/0.5249, allocations: 96.69 kB / 0.954 GB, free: 5.559 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=8): time 1.453e-06/0.5249, allocations: 0 / 0.954 GB, free: 5.559 MB / 0.7169 GB Notification: Performance of matching and sorting (n=8): time 0.0005435/0.5255, allocations: 184.3 kB / 0.9542 GB, free: 5.457 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.147e-05/0.5255, allocations: 58.27 kB / 0.9542 GB, free: 5.391 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.244e-05/0.5256, allocations: 126.1 kB / 0.9543 GB, free: 5.273 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.334e-05/0.5256, allocations: 28.02 kB / 0.9544 GB, free: 5.242 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.704e-05/0.5256, allocations: 102.5 kB / 0.9545 GB, free: 5.141 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.892e-05/0.5257, allocations: 19.19 kB / 0.9545 GB, free: 5.125 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.813e-05/0.5257, allocations: 31.17 kB / 0.9545 GB, free: 5.098 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.481e-05/0.5258, allocations: 325 kB / 0.9548 GB, free: 4.773 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.763e-05/0.5259, allocations: 28.48 kB / 0.9548 GB, free: 4.762 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.346e-05/0.526, allocations: 63.86 kB / 0.9549 GB, free: 4.703 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001621/0.5261, allocations: 99.78 kB / 0.955 GB, free: 4.625 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.5261, allocations: 4.969 kB / 0.955 GB, free: 4.621 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002394/0.5264, allocations: 124.5 kB / 0.9551 GB, free: 4.547 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.149e-05/0.5264, allocations: 5.781 kB / 0.9551 GB, free: 4.547 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.95e-06/0.5264, allocations: 1.5 kB / 0.9551 GB, free: 4.547 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.22e-05/0.5264, allocations: 2.156 kB / 0.9551 GB, free: 4.547 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001093/0.5265, allocations: 18.36 kB / 0.9551 GB, free: 4.539 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.042e-06/0.5266, allocations: 1.25 kB / 0.9551 GB, free: 4.539 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.872e-05/0.5266, allocations: 20.8 kB / 0.9552 GB, free: 4.523 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.381e-05/0.5267, allocations: 8.844 kB / 0.9552 GB, free: 4.52 MB / 0.7169 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 6.504e-05/0.5267, allocations: 119.9 kB / 0.9553 GB, free: 4.398 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.012e-05/0.5268, allocations: 6.5 kB / 0.9553 GB, free: 4.395 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.268e-05/0.5268, allocations: 15.02 kB / 0.9553 GB, free: 4.383 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-06/0.5268, allocations: 3.938 kB / 0.9553 GB, free: 4.379 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.5268, allocations: 1.188 kB / 0.9553 GB, free: 4.379 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.5268, allocations: 3.938 kB / 0.9553 GB, free: 4.375 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004846/0.5273, allocations: 431 kB / 0.9557 GB, free: 3.977 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.472e-06/0.5273, allocations: 1.031 kB / 0.9557 GB, free: 3.977 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.786e-05/0.5274, allocations: 6.922 kB / 0.9557 GB, free: 3.973 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.913e-06/0.5274, allocations: 1.406 kB / 0.9557 GB, free: 3.973 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.286e-05/0.5274, allocations: 1.562 kB / 0.9557 GB, free: 3.973 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.5274, allocations: 0 / 0.9557 GB, free: 3.973 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.5274, allocations: 3.938 kB / 0.9557 GB, free: 3.969 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003526/0.5278, allocations: 252.3 kB / 0.956 GB, free: 3.773 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.968e-05/0.5278, allocations: 87.77 kB / 0.9561 GB, free: 3.672 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.541e-05/0.5278, allocations: 1.594 kB / 0.9561 GB, free: 3.672 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001189/0.5279, allocations: 8.078 kB / 0.9561 GB, free: 3.668 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.441e-05/0.528, allocations: 6.844 kB / 0.9561 GB, free: 3.664 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.254e-05/0.528, allocations: 6.859 kB / 0.9561 GB, free: 3.66 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.599e-05/0.528, allocations: 102.8 kB / 0.9562 GB, free: 3.57 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.528, allocations: 4.938 kB / 0.9562 GB, free: 3.566 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003102/0.5284, allocations: 38.22 kB / 0.9562 GB, free: 3.559 MB / 0.7169 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.0007189/0.5291, allocations: 0.8467 MB / 0.9571 GB, free: 2.805 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002898/0.5294, allocations: 96.89 kB / 0.9572 GB, free: 2.762 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.5294, allocations: 0 / 0.9572 GB, free: 2.762 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001414/0.5295, allocations: 51.11 kB / 0.9572 GB, free: 2.738 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002639/0.5298, allocations: 16.97 kB / 0.9572 GB, free: 2.727 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00134/0.5312, allocations: 1.57 MB / 0.9587 GB, free: 1.289 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.287e-05/0.5313, allocations: 0.6975 MB / 0.9594 GB, free: 0.5781 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.714e-05/0.5313, allocations: 3.938 kB / 0.9594 GB, free: 0.5781 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.805e-05/0.5314, allocations: 23.33 kB / 0.9595 GB, free: 0.5586 MB / 0.7169 GB Notification: Performance of SimCode: time 2.41e-07/0.5314, allocations: 0 / 0.9595 GB, free: 0.5586 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01806/0.5494, allocations: 2.958 MB / 0.9623 GB, free: 15 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.519/8.068, allocations: 15.23 kB / 0.9624 GB, free: 14.98 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn_res.csv --start-time 0 --stop-time 3600 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 Buildings_9_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTIn.fmu > Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTIn.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "Warning: Resultfile and Reference have different end time points! Reffile[551]=3600.000000 File[1236]=2249.280000 Error: Could not read variable win.occ in file Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn_res.csv. Warning: Get data of variable win.occ from file Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn_res.csv failed! Error: Could not read variable win.on in file Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn_res.csv. Warning: Get data of variable win.on from file Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn_res.csv failed! " Variables in the reference:time,win.TIn,win.occ,win.pOpen,win.on Variables in the result:time,win.TIn,win.pClose,win.pOpen,TIn.amplitude,TIn.f