Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001196/0.001196, allocations: 112.9 kB / 17.54 MB, free: 4.641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001244/0.001244, allocations: 189.9 kB / 20.71 MB, free: 1.484 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.307/1.307, allocations: 225.6 MB / 249.3 MB, free: 3.168 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.531/2.531, allocations: 476.7 MB / 0.7628 GB, free: 15.11 MB / 0.6075 GB " [Timeout remaining time 177] 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.Zhang2012WindowsSouth,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsSouth",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsSouth",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001966/0.001966, allocations: 68.08 kB / 1.107 GB, free: 5.148 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7889/0.7909, allocations: 168.7 MB / 1.271 GB, free: 7.688 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth): time 0.002269/0.7932, allocations: 1.521 MB / 1.273 GB, free: 6.652 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001072/0.7942, allocations: 0.7469 MB / 1.274 GB, free: 6.152 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.896e-05/0.7943, allocations: 0.8125 kB / 1.274 GB, free: 6.152 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.332e-05/0.7943, allocations: 8.672 kB / 1.274 GB, free: 6.145 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 4.361e-05/0.7943, allocations: 7.016 kB / 1.274 GB, free: 6.141 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004501/0.7948, allocations: 125.4 kB / 1.274 GB, free: 6.078 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001/0.7949, allocations: 79.17 kB / 1.274 GB, free: 6.043 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 7.463e-05/0.795, allocations: 15.5 kB / 1.274 GB, free: 6.035 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 7.414e-05/0.795, allocations: 30.84 kB / 1.274 GB, free: 6.023 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.856e-05/0.7951, allocations: 46.14 kB / 1.274 GB, free: 6 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.767e-05/0.7951, allocations: 9.625 kB / 1.274 GB, free: 5.996 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001809/0.7953, allocations: 104.4 kB / 1.274 GB, free: 5.965 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.064e-05/0.7953, allocations: 16.52 kB / 1.274 GB, free: 5.957 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 3.635e-05/0.7953, allocations: 30.97 kB / 1.274 GB, free: 5.938 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001917/0.7955, allocations: 139.2 kB / 1.274 GB, free: 5.891 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 2.895e-06/0.7955, allocations: 0 / 1.274 GB, free: 5.891 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.513e-06/0.7955, allocations: 0.9375 kB / 1.274 GB, free: 5.891 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.027e-06/0.7955, allocations: 0 / 1.274 GB, free: 5.891 MB / 0.9981 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.0004686/0.796, allocations: 427.8 kB / 1.275 GB, free: 5.465 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.303e-05/0.796, allocations: 10.19 kB / 1.275 GB, free: 5.465 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.285e-05/0.7961, allocations: 35.41 kB / 1.275 GB, free: 5.422 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.178e-05/0.7961, allocations: 8.547 kB / 1.275 GB, free: 5.418 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.56e-05/0.7962, allocations: 171.1 kB / 1.275 GB, free: 5.219 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.106e-05/0.7962, allocations: 2.562 kB / 1.275 GB, free: 5.219 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.857e-05/0.7962, allocations: 8.125 kB / 1.275 GB, free: 5.215 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001546/0.7964, allocations: 69.33 kB / 1.275 GB, free: 5.172 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.624e-06/0.7964, allocations: 1.094 kB / 1.275 GB, free: 5.172 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.568e-06/0.7964, allocations: 3.938 kB / 1.275 GB, free: 5.168 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.188e-06/0.7964, allocations: 5.094 kB / 1.275 GB, free: 5.164 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001181/0.7965, allocations: 39.33 kB / 1.275 GB, free: 5.152 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004598/0.797, allocations: 320 kB / 1.275 GB, free: 4.855 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001125/0.7971, allocations: 42.69 kB / 1.275 GB, free: 4.824 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.272e-05/0.7971, allocations: 35.17 kB / 1.275 GB, free: 4.805 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.652e-05/0.7972, allocations: 1.031 kB / 1.275 GB, free: 4.805 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001425/0.7973, allocations: 84.36 kB / 1.275 GB, free: 4.738 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=7): time 1.423e-06/0.7973, allocations: 0 / 1.275 GB, free: 4.738 MB / 0.9981 GB Notification: Performance of matching and sorting (n=7): time 0.0003457/0.7977, allocations: 133.5 kB / 1.276 GB, free: 4.68 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.41e-05/0.7977, allocations: 58.34 kB / 1.276 GB, free: 4.613 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.844e-05/0.7977, allocations: 122.8 kB / 1.276 GB, free: 4.504 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.193e-05/0.7978, allocations: 31.08 kB / 1.276 GB, free: 4.469 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 2.939e-05/0.7978, allocations: 88.69 kB / 1.276 GB, free: 4.383 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.579e-05/0.7978, allocations: 19.73 kB / 1.276 GB, free: 4.367 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.09e-05/0.7978, allocations: 26.83 kB / 1.276 GB, free: 4.348 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.816e-05/0.7979, allocations: 324.6 kB / 1.276 GB, free: 4.027 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.73e-05/0.798, allocations: 30.88 kB / 1.276 GB, free: 4.016 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.114e-05/0.798, allocations: 48.39 kB / 1.276 GB, free: 3.98 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000138/0.7982, allocations: 67.83 kB / 1.276 GB, free: 3.941 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.7982, allocations: 4.844 kB / 1.276 GB, free: 3.938 MB / 0.9981 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002144/0.7984, allocations: 117.6 kB / 1.276 GB, free: 3.875 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.3e-05/0.7984, allocations: 5.312 kB / 1.276 GB, free: 3.875 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.887e-06/0.7984, allocations: 0.75 kB / 1.276 GB, free: 3.875 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.208e-05/0.7984, allocations: 0.8438 kB / 1.276 GB, free: 3.875 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.653e-05/0.7985, allocations: 19.53 kB / 1.276 GB, free: 3.867 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.36e-06/0.7985, allocations: 1.844 kB / 1.276 GB, free: 3.867 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.09e-05/0.7986, allocations: 10.84 kB / 1.276 GB, free: 3.863 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.118e-05/0.7986, allocations: 2.75 kB / 1.276 GB, free: 3.863 MB / 0.9981 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.636e-05/0.7986, allocations: 132.7 kB / 1.277 GB, free: 3.73 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.567e-05/0.7987, allocations: 6.672 kB / 1.277 GB, free: 3.727 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.058e-05/0.7987, allocations: 8.734 kB / 1.277 GB, free: 3.715 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.7987, allocations: 0.8438 kB / 1.277 GB, free: 3.715 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.7987, allocations: 4 kB / 1.277 GB, free: 3.711 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.7987, allocations: 1.125 kB / 1.277 GB, free: 3.711 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003392/0.799, allocations: 385.8 kB / 1.277 GB, free: 3.367 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.799, allocations: 4.656 kB / 1.277 GB, free: 3.363 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.831e-05/0.7991, allocations: 7.406 kB / 1.277 GB, free: 3.363 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.502e-06/0.7991, allocations: 0.7188 kB / 1.277 GB, free: 3.363 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.277e-06/0.7991, allocations: 1.125 kB / 1.277 GB, free: 3.363 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.7991, allocations: 4.938 kB / 1.277 GB, free: 3.359 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.7991, allocations: 0 / 1.277 GB, free: 3.359 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002288/0.7993, allocations: 211.2 kB / 1.277 GB, free: 3.199 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.81e-05/0.7993, allocations: 83.77 kB / 1.277 GB, free: 3.102 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.639e-05/0.7993, allocations: 4.328 kB / 1.277 GB, free: 3.102 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.365e-05/0.7994, allocations: 6.156 kB / 1.277 GB, free: 3.098 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.955e-05/0.7995, allocations: 4.297 kB / 1.277 GB, free: 3.098 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.009e-05/0.7995, allocations: 8.172 kB / 1.277 GB, free: 3.094 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 3.307e-05/0.7995, allocations: 92.61 kB / 1.277 GB, free: 3.016 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8e-08/0.7995, allocations: 0 / 1.277 GB, free: 3.016 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002768/0.7998, allocations: 42.12 kB / 1.277 GB, free: 3.004 MB / 0.9981 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.0005852/0.8004, allocations: 0.8161 MB / 1.278 GB, free: 2.289 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002097/0.8006, allocations: 65.23 kB / 1.278 GB, free: 2.273 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.8006, allocations: 8.906 kB / 1.278 GB, free: 2.266 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 8.739e-05/0.8007, allocations: 29.64 kB / 1.278 GB, free: 2.262 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002307/0.8009, allocations: 11.62 kB / 1.278 GB, free: 2.254 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001266/0.8022, allocations: 1.51 MB / 1.28 GB, free: 16.91 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003027/0.8025, allocations: 0.6915 MB / 1.28 GB, free: 16.21 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 3.295e-05/0.8025, allocations: 5.859 kB / 1.28 GB, free: 16.21 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.941e-05/0.8025, allocations: 19.81 kB / 1.28 GB, free: 16.2 MB / 1.014 GB Notification: Performance of SimCode: time 3.21e-07/0.8025, allocations: 0 / 1.28 GB, free: 16.2 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02416/0.8267, allocations: 2.658 MB / 1.283 GB, free: 15.68 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.002/7.828, allocations: 3.047 kB / 1.283 GB, free: 15.68 MB / 1.014 GB " [Timeout remaining time 292] (rm -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth_res.csv --start-time 0 --stop-time 3600 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 Buildings_11_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsSouth.fmu > Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsSouth.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable win.occ in file Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth_res.csv. Warning: Get data of variable win.occ from file Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth_res.csv failed! Error: Could not read variable win.on in file Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth_res.csv. Warning: Get data of variable win.on from file Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth_res.csv failed! " [Timeout remaining time 300] "" 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 [Calling sys.exit(0), Time elapsed: 13.258978113997728]