Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.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.Residential.Windows.Validation.Nicol2001WindowsEU,fileNamePrefix="Buildings_9_Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsEU",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU,fileNamePrefix="Buildings_9_Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsEU",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.001096/0.001096, 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.001393/0.001393, allocations: 193.3 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.326/1.326, allocations: 222.9 MB / 240.2 MB, free: 4.414 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.271/2.271, allocations: 390.2 MB / 0.6647 GB, free: 460 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001317/0.001317, allocations: 67.91 kB / 0.8127 GB, free: 14.35 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5146/0.516, allocations: 140.4 MB / 0.9497 GB, free: 9.211 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU): time 0.00217/0.5182, allocations: 1.475 MB / 0.9512 GB, free: 8.047 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0009644/0.5191, allocations: 0.7296 MB / 0.9519 GB, free: 7.48 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.597e-05/0.5192, allocations: 1.156 kB / 0.9519 GB, free: 7.48 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.601e-05/0.5192, allocations: 3.938 kB / 0.9519 GB, free: 7.477 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.431e-05/0.5193, allocations: 13.89 kB / 0.9519 GB, free: 7.465 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004273/0.5197, allocations: 129.2 kB / 0.952 GB, free: 7.371 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.314e-05/0.5198, allocations: 75.5 kB / 0.9521 GB, free: 7.328 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 7.909e-05/0.5199, allocations: 17.72 kB / 0.9521 GB, free: 7.316 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.627e-05/0.52, allocations: 34.2 kB / 0.9521 GB, free: 7.297 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.591e-05/0.52, allocations: 43.19 kB / 0.9522 GB, free: 7.266 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.886e-05/0.5201, allocations: 6.219 kB / 0.9522 GB, free: 7.266 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001655/0.5202, allocations: 94.28 kB / 0.9523 GB, free: 7.219 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.046e-05/0.5203, allocations: 18.83 kB / 0.9523 GB, free: 7.203 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.932e-05/0.5203, allocations: 36.44 kB / 0.9523 GB, free: 7.176 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001875/0.5205, allocations: 136.5 kB / 0.9525 GB, free: 7.09 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.5205, allocations: 0 / 0.9525 GB, free: 7.09 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.393e-06/0.5205, allocations: 3.938 kB / 0.9525 GB, free: 7.086 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.109e-06/0.5205, allocations: 0 / 0.9525 GB, free: 7.086 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004763/0.521, allocations: 424.8 kB / 0.9529 GB, free: 6.648 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.394e-05/0.521, allocations: 8.75 kB / 0.9529 GB, free: 6.648 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.741e-05/0.5211, allocations: 40.98 kB / 0.9529 GB, free: 6.602 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.263e-05/0.5211, allocations: 4.156 kB / 0.9529 GB, free: 6.602 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.308e-05/0.5212, allocations: 168.3 kB / 0.9531 GB, free: 6.402 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.123e-05/0.5212, allocations: 6.812 kB / 0.9531 GB, free: 6.398 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.459e-05/0.5212, allocations: 4.75 kB / 0.9531 GB, free: 6.398 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001562/0.5214, allocations: 75.66 kB / 0.9532 GB, free: 6.336 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.993e-06/0.5214, allocations: 0 / 0.9532 GB, free: 6.336 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.182e-05/0.5214, allocations: 3.984 kB / 0.9532 GB, free: 6.332 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.828e-06/0.5214, allocations: 1.281 kB / 0.9532 GB, free: 6.332 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001233/0.5216, allocations: 36.48 kB / 0.9532 GB, free: 6.316 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000485/0.5221, allocations: 325.9 kB / 0.9535 GB, free: 5.98 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001131/0.5222, allocations: 49.66 kB / 0.9536 GB, free: 5.941 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.564e-05/0.5223, allocations: 35.41 kB / 0.9536 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.764e-05/0.5223, allocations: 3.984 kB / 0.9536 GB, free: 5.914 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001487/0.5225, allocations: 74.06 kB / 0.9537 GB, free: 5.848 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.392e-06/0.5225, allocations: 0 / 0.9537 GB, free: 5.848 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0003506/0.5228, allocations: 136.8 kB / 0.9538 GB, free: 5.77 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.698e-05/0.5229, allocations: 64.89 kB / 0.9539 GB, free: 5.695 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.315e-05/0.5229, allocations: 116.3 kB / 0.954 GB, free: 5.586 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.12e-05/0.5229, allocations: 35.2 kB / 0.954 GB, free: 5.547 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.004e-05/0.523, allocations: 94.91 kB / 0.9541 GB, free: 5.453 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.574e-05/0.523, allocations: 14.53 kB / 0.9541 GB, free: 5.441 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.237e-05/0.523, allocations: 25.7 kB / 0.9541 GB, free: 5.418 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.793e-05/0.5231, allocations: 321.1 kB / 0.9544 GB, free: 5.098 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.951e-05/0.5232, allocations: 26.77 kB / 0.9545 GB, free: 5.086 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.299e-05/0.5233, allocations: 52.14 kB / 0.9545 GB, free: 5.043 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001439/0.5234, allocations: 73.7 kB / 0.9546 GB, free: 4.992 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.5234, allocations: 0 / 0.9546 GB, free: 4.992 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002135/0.5236, allocations: 121.2 kB / 0.9547 GB, free: 4.914 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.156e-05/0.5237, allocations: 5.656 kB / 0.9547 GB, free: 4.914 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/0.5237, allocations: 1.281 kB / 0.9547 GB, free: 4.914 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.023e-05/0.5237, allocations: 1.312 kB / 0.9547 GB, free: 4.914 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.883e-05/0.5238, allocations: 8.688 kB / 0.9547 GB, free: 4.914 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.5238, allocations: 3.984 kB / 0.9547 GB, free: 4.91 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.465e-05/0.5239, allocations: 8.031 kB / 0.9547 GB, free: 4.906 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.106e-05/0.5239, allocations: 4.219 kB / 0.9547 GB, free: 4.906 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 9 (win.occ,win.curSeed,$PRE.win.curSeed,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 5.775e-05/0.5239, allocations: 130.1 kB / 0.9549 GB, free: 4.773 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.588e-05/0.524, allocations: 6.5 kB / 0.9549 GB, free: 4.77 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.127e-05/0.524, allocations: 9.828 kB / 0.9549 GB, free: 4.762 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.844e-06/0.524, allocations: 2.531 kB / 0.9549 GB, free: 4.762 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.524, allocations: 0 / 0.9549 GB, free: 4.762 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.344e-06/0.524, allocations: 0 / 0.9549 GB, free: 4.762 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003395/0.5244, allocations: 382.3 kB / 0.9552 GB, free: 4.391 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.5244, allocations: 5.312 kB / 0.9552 GB, free: 4.387 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.978e-05/0.5244, allocations: 10.53 kB / 0.9553 GB, free: 4.379 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.5244, allocations: 1.031 kB / 0.9553 GB, free: 4.379 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.062e-05/0.5244, allocations: 5.359 kB / 0.9553 GB, free: 4.375 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.5244, allocations: 7.875 kB / 0.9553 GB, free: 4.367 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.5244, allocations: 1.625 kB / 0.9553 GB, free: 4.367 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002251/0.5247, allocations: 205.7 kB / 0.9555 GB, free: 4.199 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.696e-05/0.5247, allocations: 82.11 kB / 0.9555 GB, free: 4.102 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.915e-05/0.5247, allocations: 9.172 kB / 0.9556 GB, free: 4.094 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.265e-05/0.5248, allocations: 7.156 kB / 0.9556 GB, free: 4.09 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.003e-05/0.5249, allocations: 6.859 kB / 0.9556 GB, free: 4.086 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.676e-06/0.5249, allocations: 5.406 kB / 0.9556 GB, free: 4.082 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.042e-05/0.5249, allocations: 93.14 kB / 0.9557 GB, free: 4 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5249, allocations: 1.469 kB / 0.9557 GB, free: 4 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000282/0.5252, allocations: 39.81 kB / 0.9557 GB, free: 3.988 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: 6 (win.sampleTrigger,$whenCondition1,win.occ,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.0005496/0.5258, allocations: 0.8049 MB / 0.9565 GB, free: 3.254 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002154/0.526, allocations: 79.52 kB / 0.9566 GB, free: 3.219 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.526, allocations: 0 / 0.9566 GB, free: 3.219 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 8.527e-05/0.5261, allocations: 31.89 kB / 0.9566 GB, free: 3.207 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002485/0.5263, allocations: 11.53 kB / 0.9566 GB, free: 3.199 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001172/0.5275, allocations: 1.49 MB / 0.9581 GB, free: 1.816 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.254e-05/0.5276, allocations: 0.6886 MB / 0.9587 GB, free: 1.113 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.336e-05/0.5277, allocations: 6.594 kB / 0.9587 GB, free: 1.109 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.811e-05/0.5277, allocations: 22.67 kB / 0.9588 GB, free: 1.09 MB / 0.7169 GB Notification: Performance of SimCode: time 2.51e-07/0.5277, allocations: 1.125 kB / 0.9588 GB, free: 1.09 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01668/0.5444, allocations: 2.608 MB / 0.9613 GB, free: 15.72 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.337/7.882, allocations: 16.09 kB / 0.9613 GB, free: 15.71 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.pipe ; mkfifo Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.pipe >> ../files/Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU_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_Residential_Windows_Validation_Nicol2001WindowsEU.fmu > Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsEU.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.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.Residential.Windows.Validation.Nicol2001WindowsEU_res.csv. Warning: Get data of variable win.occ from file Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU_res.csv failed! Error: Could not read variable win.on in file Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU_res.csv. Warning: Get data of variable win.on from file Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU_res.csv failed! " Variables in the reference:time,win.TOut,win.occ,win.p,win.on Variables in the result:time,win.TOut,win.p,TOut.amplitude,TOut.f,TOut.offset