Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.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.Haldi2008WindowsTIn,fileNamePrefix="Buildings_10_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTIn",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn,fileNamePrefix="Buildings_10_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTIn",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.005517/0.005518, allocations: 100.8 kB / 15.73 MB, free: 6.039 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.001438/0.001438, allocations: 202.3 kB / 16.68 MB, free: 5.965 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.459/1.459, allocations: 222.9 MB / 240.4 MB, free: 4.148 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.738/2.738, allocations: 437 MB / 0.7105 GB, free: 4.918 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002748/0.002748, allocations: 63.91 kB / 1.018 GB, free: 14.97 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2977/0.3004, allocations: 151.6 MB / 1.166 GB, free: 7.238 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn): time 0.003042/0.3035, allocations: 1.505 MB / 1.168 GB, free: 5.715 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001328/0.3049, allocations: 0.7245 MB / 1.168 GB, free: 4.984 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.327e-05/0.3049, allocations: 4 kB / 1.168 GB, free: 4.98 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 2.941e-05/0.305, allocations: 7.875 kB / 1.168 GB, free: 4.973 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 5.483e-05/0.305, allocations: 7.922 kB / 1.168 GB, free: 4.965 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005595/0.3056, allocations: 123.6 kB / 1.168 GB, free: 4.844 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001343/0.3057, allocations: 83.7 kB / 1.169 GB, free: 4.762 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 7.691e-05/0.3058, allocations: 4 kB / 1.169 GB, free: 4.758 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001703/0.306, allocations: 43.89 kB / 1.169 GB, free: 4.715 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 7.133e-05/0.3061, allocations: 39.84 kB / 1.169 GB, free: 4.676 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.116e-05/0.3061, allocations: 8 kB / 1.169 GB, free: 4.668 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002051/0.3063, allocations: 95.84 kB / 1.169 GB, free: 4.574 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.583e-05/0.3063, allocations: 11.97 kB / 1.169 GB, free: 4.562 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 5.186e-05/0.3064, allocations: 31.86 kB / 1.169 GB, free: 4.531 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002782/0.3067, allocations: 155.7 kB / 1.169 GB, free: 4.379 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.3067, allocations: 0 / 1.169 GB, free: 4.379 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.272e-06/0.3067, allocations: 0 / 1.169 GB, free: 4.379 MB / 0.92 GB Notification: Performance of Transformations before backend: time 8.926e-06/0.3067, allocations: 0 / 1.169 GB, free: 4.379 MB / 0.92 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.0006788/0.3074, allocations: 432.6 kB / 1.169 GB, free: 3.902 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.875e-05/0.3074, allocations: 8.031 kB / 1.169 GB, free: 3.895 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.977e-05/0.3075, allocations: 38.73 kB / 1.169 GB, free: 3.848 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.568e-05/0.3075, allocations: 8.891 kB / 1.169 GB, free: 3.84 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001254/0.3077, allocations: 172.3 kB / 1.17 GB, free: 3.633 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.203e-05/0.3077, allocations: 384 / 1.17 GB, free: 3.633 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.207e-05/0.3077, allocations: 8.375 kB / 1.17 GB, free: 3.625 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001958/0.3079, allocations: 73.77 kB / 1.17 GB, free: 3.547 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.085e-06/0.3079, allocations: 0 / 1.17 GB, free: 3.547 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.03e-05/0.308, allocations: 4 kB / 1.17 GB, free: 3.543 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.771e-06/0.308, allocations: 3.984 kB / 1.17 GB, free: 3.539 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001371/0.3081, allocations: 35.92 kB / 1.17 GB, free: 3.504 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000616/0.3087, allocations: 312.8 kB / 1.17 GB, free: 3.148 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000152/0.3089, allocations: 58.56 kB / 1.17 GB, free: 3.082 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.088e-05/0.309, allocations: 32.97 kB / 1.17 GB, free: 3.047 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.848e-05/0.309, allocations: 0 / 1.17 GB, free: 3.047 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001964/0.3092, allocations: 75.31 kB / 1.17 GB, free: 2.961 MB / 0.92 GB Notification: Performance of pre-optimization done (n=7): time 1.363e-06/0.3092, allocations: 0 / 1.17 GB, free: 2.961 MB / 0.92 GB Notification: Performance of matching and sorting (n=7): time 0.0004486/0.3097, allocations: 145.9 kB / 1.17 GB, free: 2.812 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.346e-05/0.3097, allocations: 55.41 kB / 1.17 GB, free: 2.746 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001077/0.3099, allocations: 121.8 kB / 1.17 GB, free: 2.617 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 3.775e-05/0.3099, allocations: 29.7 kB / 1.17 GB, free: 2.582 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 6.919e-05/0.31, allocations: 92.09 kB / 1.171 GB, free: 2.488 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.305e-05/0.31, allocations: 19.83 kB / 1.171 GB, free: 2.469 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.892e-05/0.3101, allocations: 29.7 kB / 1.171 GB, free: 2.434 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0002588/0.3103, allocations: 322.8 kB / 1.171 GB, free: 2.109 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.91e-05/0.3104, allocations: 27.98 kB / 1.171 GB, free: 2.082 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001168/0.3106, allocations: 59.34 kB / 1.171 GB, free: 2.012 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001778/0.3107, allocations: 75.34 kB / 1.171 GB, free: 1.926 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.3108, allocations: 8 kB / 1.171 GB, free: 1.918 MB / 0.92 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002846/0.311, allocations: 113.5 kB / 1.171 GB, free: 1.801 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.361e-05/0.3111, allocations: 4 kB / 1.171 GB, free: 1.797 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.3111, allocations: 80 / 1.171 GB, free: 1.797 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.493e-05/0.3111, allocations: 4 kB / 1.171 GB, free: 1.793 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.459e-05/0.3112, allocations: 11.98 kB / 1.171 GB, free: 1.781 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.117e-06/0.3112, allocations: 3.984 kB / 1.171 GB, free: 1.777 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.194e-05/0.3113, allocations: 8.047 kB / 1.171 GB, free: 1.77 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.12e-05/0.3113, allocations: 20.03 kB / 1.171 GB, free: 1.75 MB / 0.92 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 9 (win.curSeed,$PRE.win.curSeed,occ.y,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.0001062/0.3114, allocations: 125.7 kB / 1.171 GB, free: 1.617 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.865e-05/0.3115, allocations: 7.953 kB / 1.171 GB, free: 1.609 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.788e-05/0.3115, allocations: 8.375 kB / 1.171 GB, free: 1.602 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.3115, allocations: 0 / 1.171 GB, free: 1.602 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.3115, allocations: 0 / 1.171 GB, free: 1.602 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.3115, allocations: 0 / 1.171 GB, free: 1.602 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005114/0.312, allocations: 390.4 kB / 1.172 GB, free: 1.164 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.312, allocations: 0 / 1.172 GB, free: 1.164 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.555e-05/0.3121, allocations: 11.92 kB / 1.172 GB, free: 1.152 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.3121, allocations: 0 / 1.172 GB, free: 1.152 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.078e-05/0.3121, allocations: 0 / 1.172 GB, free: 1.152 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.927e-06/0.3121, allocations: 7.938 kB / 1.172 GB, free: 1.145 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.3121, allocations: 0 / 1.172 GB, free: 1.145 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003087/0.3124, allocations: 207.5 kB / 1.172 GB, free: 0.9258 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 5.275e-05/0.3125, allocations: 89 kB / 1.172 GB, free: 0.8203 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.728e-05/0.3125, allocations: 0 / 1.172 GB, free: 0.8203 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.531e-05/0.3126, allocations: 7.938 kB / 1.172 GB, free: 0.8125 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.225e-05/0.3127, allocations: 7.922 kB / 1.172 GB, free: 0.8047 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.429e-05/0.3127, allocations: 8 kB / 1.172 GB, free: 0.7969 MB / 0.92 GB Notification: Performance of sorting global known variables: time 6.523e-05/0.3128, allocations: 91.27 kB / 1.172 GB, free: 0.707 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3128, allocations: 0 / 1.172 GB, free: 0.707 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0003143/0.3131, allocations: 39.92 kB / 1.172 GB, free: 0.668 MB / 0.92 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,occ.y,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.0009571/0.3141, allocations: 0.7985 MB / 1.173 GB, free: 15.86 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002679/0.3143, allocations: 79.89 kB / 1.173 GB, free: 15.78 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.3144, allocations: 0 / 1.173 GB, free: 15.78 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001063/0.3145, allocations: 35.92 kB / 1.173 GB, free: 15.75 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002524/0.3147, allocations: 14.11 kB / 1.173 GB, free: 15.73 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00192/0.3167, allocations: 1.495 MB / 1.175 GB, free: 14.14 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003597/0.317, allocations: 0.6923 MB / 1.175 GB, free: 13.42 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 4.359e-05/0.3171, allocations: 16.06 kB / 1.175 GB, free: 13.4 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.579e-05/0.3171, allocations: 23.42 kB / 1.175 GB, free: 13.38 MB / 0.9356 GB Notification: Performance of SimCode: time 2.3e-07/0.3171, allocations: 0 / 1.175 GB, free: 13.38 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02398/0.3411, allocations: 2.64 MB / 1.178 GB, free: 10.86 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.902/8.243, allocations: 10.2 kB / 1.178 GB, free: 10.86 MB / 0.9356 GB (rm -f Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe ; mkfifo Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe >> ../files/Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn_res.csv --start-time 0 --stop-time 3600 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 Buildings_10_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTIn.fmu > Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTIn.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "Warning: Resultfile and Reference have different end time points! Reffile[553]=3600.000000 File[1236]=2249.280000 Error: Could not read variable win.occ in file Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn_res.csv. Warning: Get data of variable win.occ from file Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn_res.csv failed! Error: Could not read variable win.on in file Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn_res.csv. Warning: Get data of variable win.on from file Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn_res.csv failed! " Variables in the reference:time,win.TIn,win.occ,win.p,win.on Variables in the result:time,win.TIn,win.p,TIn.amplitude,TIn.f,TIn.offset