Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTIn",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn,fileNamePrefix="Buildings_11_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.006521/0.006521, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.001294/0.001294, allocations: 200.1 kB / 16.68 MB, free: 5.969 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.451/1.451, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.937/2.937, allocations: 469.8 MB / 0.7425 GB, free: 7.316 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001855/0.001855, allocations: 63.89 kB / 1.065 GB, free: 13.57 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3069/0.3087, allocations: 159.1 MB / 1.22 GB, free: 14.32 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn): time 0.002632/0.3114, allocations: 1.503 MB / 1.222 GB, free: 12.8 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001268/0.3127, allocations: 0.7284 MB / 1.222 GB, free: 12.06 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.5e-05/0.3128, allocations: 0 / 1.222 GB, free: 12.06 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.058e-05/0.3128, allocations: 3.938 kB / 1.222 GB, free: 12.06 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 5.716e-05/0.3129, allocations: 15.81 kB / 1.222 GB, free: 12.04 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005485/0.3134, allocations: 127.6 kB / 1.222 GB, free: 11.92 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001221/0.3136, allocations: 79.75 kB / 1.223 GB, free: 11.84 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 9.116e-05/0.3137, allocations: 11.95 kB / 1.223 GB, free: 11.83 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 8.905e-05/0.3138, allocations: 35.91 kB / 1.223 GB, free: 11.79 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 7.211e-05/0.3138, allocations: 39.83 kB / 1.223 GB, free: 11.75 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.085e-05/0.3139, allocations: 8 kB / 1.223 GB, free: 11.75 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002048/0.3141, allocations: 99.84 kB / 1.223 GB, free: 11.65 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.211e-05/0.3141, allocations: 19.92 kB / 1.223 GB, free: 11.63 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.9e-05/0.3142, allocations: 31.86 kB / 1.223 GB, free: 11.6 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.000235/0.3144, allocations: 135.5 kB / 1.223 GB, free: 11.46 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.397e-06/0.3144, allocations: 0 / 1.223 GB, free: 11.46 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.493e-06/0.3144, allocations: 0 / 1.223 GB, free: 11.46 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.167e-06/0.3144, allocations: 0 / 1.223 GB, free: 11.46 MB / 0.9825 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.0006314/0.3151, allocations: 428.7 kB / 1.223 GB, free: 10.99 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.663e-05/0.3151, allocations: 12.03 kB / 1.223 GB, free: 10.98 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.696e-05/0.3152, allocations: 34.75 kB / 1.223 GB, free: 10.94 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.571e-05/0.3152, allocations: 12.88 kB / 1.223 GB, free: 10.93 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001367/0.3154, allocations: 172.3 kB / 1.224 GB, free: 10.72 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.827e-05/0.3154, allocations: 384 / 1.224 GB, free: 10.72 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.055e-05/0.3154, allocations: 4.375 kB / 1.224 GB, free: 10.71 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001869/0.3156, allocations: 77.72 kB / 1.224 GB, free: 10.63 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.079e-05/0.3156, allocations: 3.984 kB / 1.224 GB, free: 10.63 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.012e-05/0.3156, allocations: 0 / 1.224 GB, free: 10.63 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.977e-06/0.3156, allocations: 4 kB / 1.224 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001343/0.3158, allocations: 39.97 kB / 1.224 GB, free: 10.59 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006105/0.3164, allocations: 316.7 kB / 1.224 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001298/0.3165, allocations: 46.55 kB / 1.224 GB, free: 10.17 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.839e-05/0.3166, allocations: 36.97 kB / 1.224 GB, free: 10.13 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.288e-05/0.3167, allocations: 4.062 kB / 1.224 GB, free: 10.13 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001859/0.3169, allocations: 83.38 kB / 1.224 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=7): time 1.502e-06/0.3169, allocations: 0 / 1.224 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7): time 0.0004036/0.3173, allocations: 137.5 kB / 1.224 GB, free: 9.895 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.251e-05/0.3174, allocations: 59.41 kB / 1.224 GB, free: 9.824 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001115/0.3175, allocations: 129.8 kB / 1.224 GB, free: 9.688 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.96e-05/0.3175, allocations: 25.7 kB / 1.224 GB, free: 9.656 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.822e-05/0.3176, allocations: 88.14 kB / 1.225 GB, free: 9.566 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.136e-05/0.3176, allocations: 19.88 kB / 1.225 GB, free: 9.547 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.355e-05/0.3176, allocations: 25.72 kB / 1.225 GB, free: 9.516 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001427/0.3178, allocations: 326.8 kB / 1.225 GB, free: 9.188 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.485e-05/0.3179, allocations: 19.98 kB / 1.225 GB, free: 9.168 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001082/0.318, allocations: 59.41 kB / 1.225 GB, free: 9.098 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001823/0.3182, allocations: 79.34 kB / 1.225 GB, free: 9.008 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.3182, allocations: 0 / 1.225 GB, free: 9.008 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002582/0.3185, allocations: 121.5 kB / 1.225 GB, free: 8.883 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.258e-05/0.3185, allocations: 4 kB / 1.225 GB, free: 8.879 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.095e-06/0.3185, allocations: 4 kB / 1.225 GB, free: 8.875 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.219e-05/0.3185, allocations: 3.938 kB / 1.225 GB, free: 8.871 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.374e-05/0.3186, allocations: 11.98 kB / 1.225 GB, free: 8.859 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/0.3186, allocations: 0 / 1.225 GB, free: 8.859 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.126e-05/0.3187, allocations: 15.94 kB / 1.225 GB, free: 8.844 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.198e-05/0.3187, allocations: 0 / 1.225 GB, free: 8.844 MB / 0.9825 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.000105/0.3188, allocations: 133.8 kB / 1.225 GB, free: 8.703 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.589e-05/0.3189, allocations: 3.953 kB / 1.225 GB, free: 8.699 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.105e-05/0.3189, allocations: 12.38 kB / 1.225 GB, free: 8.68 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.542e-06/0.3189, allocations: 0 / 1.225 GB, free: 8.68 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.3189, allocations: 0 / 1.225 GB, free: 8.68 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.3189, allocations: 0 / 1.225 GB, free: 8.68 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000496/0.3194, allocations: 382.7 kB / 1.226 GB, free: 8.25 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.3194, allocations: 4 kB / 1.226 GB, free: 8.246 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.14e-05/0.3195, allocations: 11.92 kB / 1.226 GB, free: 8.234 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.804e-06/0.3195, allocations: 0 / 1.226 GB, free: 8.234 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.03e-05/0.3195, allocations: 4 kB / 1.226 GB, free: 8.23 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.879e-06/0.3195, allocations: 3.938 kB / 1.226 GB, free: 8.227 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.3195, allocations: 64 / 1.226 GB, free: 8.227 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003024/0.3198, allocations: 215.5 kB / 1.226 GB, free: 8 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.562e-05/0.3199, allocations: 85.06 kB / 1.226 GB, free: 7.898 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.888e-05/0.3199, allocations: 4 kB / 1.226 GB, free: 7.895 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.176e-05/0.32, allocations: 7.938 kB / 1.226 GB, free: 7.887 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.938e-05/0.32, allocations: 8.031 kB / 1.226 GB, free: 7.879 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.908e-06/0.3201, allocations: 3.984 kB / 1.226 GB, free: 7.875 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.988e-05/0.3201, allocations: 95.27 kB / 1.226 GB, free: 7.781 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3201, allocations: 0 / 1.226 GB, free: 7.781 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.000293/0.3204, allocations: 43.86 kB / 1.226 GB, free: 7.738 MB / 0.9825 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.0008533/0.3213, allocations: 0.8042 MB / 1.227 GB, free: 6.922 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002546/0.3216, allocations: 71.89 kB / 1.227 GB, free: 6.852 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.3216, allocations: 0 / 1.227 GB, free: 6.852 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001017/0.3217, allocations: 31.98 kB / 1.227 GB, free: 6.82 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002558/0.3219, allocations: 15.92 kB / 1.227 GB, free: 6.805 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00171/0.3237, allocations: 1.514 MB / 1.229 GB, free: 5.195 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000303/0.324, allocations: 0.6885 MB / 1.229 GB, free: 4.48 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.674e-05/0.324, allocations: 4 kB / 1.229 GB, free: 4.477 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.827e-05/0.3241, allocations: 27.42 kB / 1.229 GB, free: 4.449 MB / 0.9825 GB Notification: Performance of SimCode: time 4.51e-07/0.3241, allocations: 0 / 1.229 GB, free: 4.449 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02457/0.3487, allocations: 2.648 MB / 1.232 GB, free: 1.93 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.797/8.145, allocations: 10.77 kB / 1.232 GB, free: 1.926 MB / 0.9825 GB (rm -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.sim & python3 -m fmpy simulate --output-file Buildings_11_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_11_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTIn.fmu > Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTIn.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn_res.csv. Warning: Get data of variable win.occ from file Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn_res.csv failed! Error: Could not read variable win.on in file Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn_res.csv. Warning: Get data of variable win.on from file Buildings_11_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