Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.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.001403/0.001403, allocations: 114.8 kB / 17.54 MB, free: 4.762 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.001413/0.001413, allocations: 181.9 kB / 20.71 MB, free: 1.609 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.314/1.314, allocations: 225.6 MB / 249.3 MB, free: 3.203 MB / 190.1 MB " [Timeout remaining time 178] 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.494/2.494, allocations: 476.7 MB / 0.7628 GB, free: 15.34 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.Yun2008WindowsTOut,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTOut",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTOut",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001803/0.001803, allocations: 63.89 kB / 1.107 GB, free: 5.215 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7906/0.7924, allocations: 168.7 MB / 1.271 GB, free: 7.734 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut): time 0.002128/0.7945, allocations: 1.545 MB / 1.273 GB, free: 6.695 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001128/0.7957, allocations: 0.7725 MB / 1.274 GB, free: 6.18 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.637e-05/0.7957, allocations: 1.062 kB / 1.274 GB, free: 6.18 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.917e-05/0.7957, allocations: 4.547 kB / 1.274 GB, free: 6.176 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 4.219e-05/0.7958, allocations: 10.59 kB / 1.274 GB, free: 6.168 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000472/0.7962, allocations: 135.8 kB / 1.274 GB, free: 6.102 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001288/0.7964, allocations: 111.2 kB / 1.274 GB, free: 6.051 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 7.545e-05/0.7964, allocations: 8 kB / 1.274 GB, free: 6.047 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 8.254e-05/0.7965, allocations: 50.38 kB / 1.274 GB, free: 6.023 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.694e-05/0.7966, allocations: 49.98 kB / 1.274 GB, free: 6.004 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.168e-05/0.7966, allocations: 9 kB / 1.274 GB, free: 6.004 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001808/0.7968, allocations: 103.1 kB / 1.274 GB, free: 5.977 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.438e-05/0.7968, allocations: 30.06 kB / 1.274 GB, free: 5.957 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 4.298e-05/0.7969, allocations: 40.3 kB / 1.274 GB, free: 5.934 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002082/0.7971, allocations: 163 kB / 1.274 GB, free: 5.879 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 2.795e-06/0.7971, allocations: 0.9688 kB / 1.274 GB, free: 5.879 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.252e-06/0.7971, allocations: 4 kB / 1.274 GB, free: 5.875 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 8.947e-06/0.7971, allocations: 0 / 1.274 GB, free: 5.875 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005087/0.7976, allocations: 457.1 kB / 1.275 GB, free: 5.422 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.207e-05/0.7976, allocations: 11.59 kB / 1.275 GB, free: 5.422 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.886e-05/0.7977, allocations: 36.59 kB / 1.275 GB, free: 5.379 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.489e-05/0.7977, allocations: 8.703 kB / 1.275 GB, free: 5.375 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.873e-05/0.7978, allocations: 179.3 kB / 1.275 GB, free: 5.168 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.954e-05/0.7978, allocations: 7.031 kB / 1.275 GB, free: 5.164 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.164e-05/0.7978, allocations: 16.69 kB / 1.275 GB, free: 5.152 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002005/0.798, allocations: 93.19 kB / 1.275 GB, free: 5.098 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.804e-06/0.798, allocations: 0 / 1.275 GB, free: 5.098 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.271e-05/0.798, allocations: 2.453 kB / 1.275 GB, free: 5.098 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.067e-06/0.798, allocations: 0.875 kB / 1.275 GB, free: 5.098 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001545/0.7982, allocations: 46.2 kB / 1.275 GB, free: 5.086 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005858/0.7988, allocations: 348.8 kB / 1.275 GB, free: 4.777 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001396/0.7989, allocations: 53.22 kB / 1.276 GB, free: 4.742 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001081/0.799, allocations: 36.33 kB / 1.276 GB, free: 4.727 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.434e-05/0.799, allocations: 5.375 kB / 1.276 GB, free: 4.723 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001912/0.7992, allocations: 92.47 kB / 1.276 GB, free: 4.66 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=8): time 1.312e-06/0.7992, allocations: 0 / 1.276 GB, free: 4.66 MB / 0.9981 GB Notification: Performance of matching and sorting (n=8): time 0.0004862/0.7997, allocations: 185.1 kB / 1.276 GB, free: 4.582 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.262e-05/0.7997, allocations: 57.86 kB / 1.276 GB, free: 4.516 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.263e-05/0.7998, allocations: 133.8 kB / 1.276 GB, free: 4.402 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.214e-05/0.7998, allocations: 31.64 kB / 1.276 GB, free: 4.367 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 2.774e-05/0.7998, allocations: 91.14 kB / 1.276 GB, free: 4.277 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.592e-05/0.7999, allocations: 16.81 kB / 1.276 GB, free: 4.266 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.425e-05/0.7999, allocations: 31.39 kB / 1.276 GB, free: 4.242 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.739e-05/0.7999, allocations: 323.2 kB / 1.276 GB, free: 3.922 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.122e-05/0.8, allocations: 33.16 kB / 1.277 GB, free: 3.91 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.658e-05/0.8001, allocations: 64.55 kB / 1.277 GB, free: 3.859 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001538/0.8003, allocations: 95.5 kB / 1.277 GB, free: 3.793 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.8003, allocations: 0 / 1.277 GB, free: 3.793 MB / 0.9981 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002376/0.8005, allocations: 130.5 kB / 1.277 GB, free: 3.727 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.19e-05/0.8005, allocations: 5.281 kB / 1.277 GB, free: 3.727 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/0.8005, allocations: 1.875 kB / 1.277 GB, free: 3.727 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.725e-05/0.8005, allocations: 6.188 kB / 1.277 GB, free: 3.723 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001007/0.8006, allocations: 17.94 kB / 1.277 GB, free: 3.719 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.531e-06/0.8006, allocations: 2.281 kB / 1.277 GB, free: 3.719 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.076e-05/0.8007, allocations: 19.25 kB / 1.277 GB, free: 3.707 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.321e-05/0.8007, allocations: 3.844 kB / 1.277 GB, free: 3.707 MB / 0.9981 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 5.795e-05/0.8008, allocations: 127 kB / 1.277 GB, free: 3.582 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.845e-05/0.8008, allocations: 7.734 kB / 1.277 GB, free: 3.578 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.103e-05/0.8008, allocations: 10.28 kB / 1.277 GB, free: 3.562 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.8008, allocations: 0.9688 kB / 1.277 GB, free: 3.562 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.895e-06/0.8008, allocations: 3.938 kB / 1.277 GB, free: 3.559 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.8008, allocations: 4.969 kB / 1.277 GB, free: 3.555 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000448/0.8013, allocations: 425.1 kB / 1.277 GB, free: 3.203 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.8013, allocations: 4.969 kB / 1.277 GB, free: 3.199 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.698e-05/0.8013, allocations: 10.95 kB / 1.277 GB, free: 3.195 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.8013, allocations: 0 / 1.277 GB, free: 3.195 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.138e-05/0.8013, allocations: 1.625 kB / 1.277 GB, free: 3.195 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.923e-06/0.8013, allocations: 1.594 kB / 1.277 GB, free: 3.195 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.724e-06/0.8013, allocations: 4.906 kB / 1.277 GB, free: 3.191 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003184/0.8017, allocations: 249 kB / 1.278 GB, free: 3.016 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.925e-05/0.8017, allocations: 85.12 kB / 1.278 GB, free: 2.918 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.078e-05/0.8017, allocations: 0.9375 kB / 1.278 GB, free: 2.918 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001025/0.8018, allocations: 6.734 kB / 1.278 GB, free: 2.918 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.668e-05/0.8018, allocations: 9.062 kB / 1.278 GB, free: 2.914 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.148e-05/0.8018, allocations: 5.406 kB / 1.278 GB, free: 2.914 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 3.571e-05/0.8019, allocations: 96.86 kB / 1.278 GB, free: 2.832 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/0.8019, allocations: 0 / 1.278 GB, free: 2.832 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002847/0.8022, allocations: 50.05 kB / 1.278 GB, free: 2.816 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: 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.0006807/0.8029, allocations: 0.8445 MB / 1.279 GB, free: 2.094 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.000259/0.8031, allocations: 89.5 kB / 1.279 GB, free: 2.066 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.8031, allocations: 1.094 kB / 1.279 GB, free: 2.066 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.00012/0.8032, allocations: 38.19 kB / 1.279 GB, free: 2.059 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000241/0.8035, allocations: 17.98 kB / 1.279 GB, free: 2.047 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001372/0.8048, allocations: 1.598 MB / 1.28 GB, free: 16.66 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002894/0.8051, allocations: 0.6895 MB / 1.281 GB, free: 15.96 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 3.59e-05/0.8052, allocations: 10.25 kB / 1.281 GB, free: 15.96 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.036e-05/0.8052, allocations: 22.55 kB / 1.281 GB, free: 15.94 MB / 1.014 GB Notification: Performance of SimCode: time 4.71e-07/0.8052, allocations: 0 / 1.281 GB, free: 15.94 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02523/0.8304, allocations: 2.992 MB / 1.284 GB, free: 15.42 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.09/7.92, allocations: 9.391 kB / 1.284 GB, free: 15.42 MB / 1.014 GB " [Timeout remaining time 292] (rm -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut_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_Yun2008WindowsTOut.fmu > Buildings_11_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTOut.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.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.Yun2008WindowsTOut_res.csv. Warning: Get data of variable win.occ from file Buildings_11_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut_res.csv failed! Error: Could not read variable win.on in file Buildings_11_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut_res.csv. Warning: Get data of variable win.on from file Buildings_11_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut_res.csv failed! " [Timeout remaining time 300] "" Variables in the reference:time,win.TOut,win.occ,win.pOpen,win.on Variables in the result:time,win.TOut,win.pClose,win.pOpen,TOut.amplitude,TOut.f [Calling sys.exit(0), Time elapsed: 13.302707504000864]