Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.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.001369/0.001369, allocations: 106.8 kB / 17.54 MB, free: 4.781 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.001415/0.001415, allocations: 186 kB / 20.71 MB, free: 1.625 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.297/1.297, allocations: 225.6 MB / 249.3 MB, free: 3.207 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.378/2.378, allocations: 443.5 MB / 0.7304 GB, free: 14.02 MB / 0.5763 GB " [Timeout remaining time 177] 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.Yun2008WindowsTIn,fileNamePrefix="Buildings_10_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTIn",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn,fileNamePrefix="Buildings_10_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTIn",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001985/0.001985, allocations: 71.89 kB / 1.059 GB, free: 1.051 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2572/0.2592, allocations: 160.7 MB / 1.216 GB, free: 28 kB / 0.9513 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn): time 0.002901/0.2621, allocations: 1.529 MB / 1.217 GB, free: 14.48 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001368/0.2635, allocations: 0.7838 MB / 1.218 GB, free: 13.69 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.313e-05/0.2635, allocations: 3.938 kB / 1.218 GB, free: 13.68 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.68e-05/0.2636, allocations: 3.938 kB / 1.218 GB, free: 13.68 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 6.308e-05/0.2636, allocations: 19.84 kB / 1.218 GB, free: 13.66 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005957/0.2642, allocations: 135.6 kB / 1.218 GB, free: 13.53 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001457/0.2644, allocations: 95.7 kB / 1.218 GB, free: 13.43 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 9.09e-05/0.2645, allocations: 23.91 kB / 1.218 GB, free: 13.41 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001063/0.2646, allocations: 43.91 kB / 1.218 GB, free: 13.37 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 8.533e-05/0.2647, allocations: 51.81 kB / 1.218 GB, free: 13.32 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.323e-05/0.2647, allocations: 12 kB / 1.218 GB, free: 13.3 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002158/0.2649, allocations: 107.8 kB / 1.218 GB, free: 13.2 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 3.247e-05/0.2649, allocations: 27.91 kB / 1.218 GB, free: 13.17 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 5.579e-05/0.265, allocations: 35.84 kB / 1.218 GB, free: 13.14 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.00025/0.2652, allocations: 175.4 kB / 1.218 GB, free: 12.96 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.641e-06/0.2652, allocations: 4 kB / 1.218 GB, free: 12.96 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.673e-06/0.2652, allocations: 0 / 1.218 GB, free: 12.96 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.21e-06/0.2652, allocations: 7.938 kB / 1.219 GB, free: 12.95 MB / 0.9669 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.000667/0.2659, allocations: 454.4 kB / 1.219 GB, free: 12.45 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.656e-05/0.2659, allocations: 8.031 kB / 1.219 GB, free: 12.44 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.152e-05/0.266, allocations: 42.73 kB / 1.219 GB, free: 12.39 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.98e-05/0.266, allocations: 8.891 kB / 1.219 GB, free: 12.38 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001284/0.2662, allocations: 172.3 kB / 1.219 GB, free: 12.18 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.274e-05/0.2662, allocations: 4.375 kB / 1.219 GB, free: 12.17 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.271e-05/0.2662, allocations: 8.375 kB / 1.219 GB, free: 12.16 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002482/0.2665, allocations: 93.69 kB / 1.219 GB, free: 12.07 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.195e-06/0.2665, allocations: 0 / 1.219 GB, free: 12.07 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.233e-05/0.2665, allocations: 0 / 1.219 GB, free: 12.07 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.182e-06/0.2665, allocations: 4 kB / 1.219 GB, free: 12.06 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001754/0.2667, allocations: 47.95 kB / 1.219 GB, free: 12.02 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007821/0.2674, allocations: 344.7 kB / 1.22 GB, free: 11.63 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000172/0.2676, allocations: 58.58 kB / 1.22 GB, free: 11.56 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001283/0.2677, allocations: 40.83 kB / 1.22 GB, free: 11.52 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.415e-05/0.2678, allocations: 12.12 kB / 1.22 GB, free: 11.51 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002491/0.268, allocations: 95.36 kB / 1.22 GB, free: 11.4 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=8): time 1.242e-06/0.268, allocations: 0 / 1.22 GB, free: 11.4 MB / 0.9669 GB Notification: Performance of matching and sorting (n=8): time 0.0005663/0.2686, allocations: 193.7 kB / 1.22 GB, free: 11.21 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.534e-05/0.2686, allocations: 51.41 kB / 1.22 GB, free: 11.14 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001127/0.2687, allocations: 129.8 kB / 1.22 GB, free: 11.01 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.182e-05/0.2688, allocations: 33.64 kB / 1.22 GB, free: 10.97 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.74e-05/0.2688, allocations: 92.09 kB / 1.22 GB, free: 10.88 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.733e-05/0.2688, allocations: 23.81 kB / 1.22 GB, free: 10.85 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.395e-05/0.2689, allocations: 33.7 kB / 1.22 GB, free: 10.81 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001337/0.269, allocations: 322.8 kB / 1.221 GB, free: 10.49 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.071e-05/0.2691, allocations: 27.98 kB / 1.221 GB, free: 10.46 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001079/0.2692, allocations: 68.28 kB / 1.221 GB, free: 10.38 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001824/0.2694, allocations: 88.2 kB / 1.221 GB, free: 10.28 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.644e-06/0.2694, allocations: 4 kB / 1.221 GB, free: 10.27 MB / 0.9669 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002677/0.2697, allocations: 133.5 kB / 1.221 GB, free: 10.14 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.371e-05/0.2697, allocations: 8 kB / 1.221 GB, free: 10.13 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.2697, allocations: 3.938 kB / 1.221 GB, free: 10.12 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.396e-05/0.2697, allocations: 4 kB / 1.221 GB, free: 10.12 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001041/0.2698, allocations: 12.05 kB / 1.221 GB, free: 10.11 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.479e-05/0.2698, allocations: 11.94 kB / 1.221 GB, free: 10.1 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.675e-05/0.2699, allocations: 7.953 kB / 1.221 GB, free: 10.09 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.485e-05/0.2699, allocations: 4 kB / 1.221 GB, free: 10.09 MB / 0.9669 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 0.0001051/0.27, allocations: 129.9 kB / 1.221 GB, free: 9.949 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.257e-05/0.2701, allocations: 7.953 kB / 1.221 GB, free: 9.941 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.726e-05/0.2701, allocations: 12.38 kB / 1.221 GB, free: 9.93 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.804e-06/0.2701, allocations: 0 / 1.221 GB, free: 9.93 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.167e-06/0.2701, allocations: 0 / 1.221 GB, free: 9.93 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.2701, allocations: 0 / 1.221 GB, free: 9.93 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006143/0.2707, allocations: 434.3 kB / 1.222 GB, free: 9.449 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.037e-06/0.2707, allocations: 4 kB / 1.222 GB, free: 9.445 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.517e-05/0.2707, allocations: 0 / 1.222 GB, free: 9.445 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.56e-06/0.2708, allocations: 4 kB / 1.222 GB, free: 9.441 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.418e-05/0.2708, allocations: 3.984 kB / 1.222 GB, free: 9.438 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.2708, allocations: 0 / 1.222 GB, free: 9.438 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/0.2708, allocations: 3.938 kB / 1.222 GB, free: 9.434 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004287/0.2712, allocations: 255.4 kB / 1.222 GB, free: 9.168 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.676e-05/0.2712, allocations: 89.05 kB / 1.222 GB, free: 9.062 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.118e-05/0.2713, allocations: 0 / 1.222 GB, free: 9.062 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001093/0.2714, allocations: 4 kB / 1.222 GB, free: 9.059 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.278e-05/0.2714, allocations: 15.92 kB / 1.222 GB, free: 9.043 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.147e-05/0.2714, allocations: 4 kB / 1.222 GB, free: 9.039 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 5.795e-05/0.2715, allocations: 98.95 kB / 1.222 GB, free: 8.945 MB / 0.9669 GB Notification: Performance of sort global known variables: time 9e-08/0.2715, allocations: 4 kB / 1.222 GB, free: 8.941 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0003002/0.2718, allocations: 43.92 kB / 1.222 GB, free: 8.898 MB / 0.9669 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.0009587/0.2727, allocations: 0.8374 MB / 1.223 GB, free: 8.047 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0002973/0.273, allocations: 83.89 kB / 1.223 GB, free: 7.965 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.273, allocations: 0 / 1.223 GB, free: 7.965 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001463/0.2732, allocations: 47.95 kB / 1.223 GB, free: 7.918 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000264/0.2735, allocations: 22.12 kB / 1.223 GB, free: 7.898 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00179/0.2752, allocations: 1.577 MB / 1.225 GB, free: 6.219 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003086/0.2756, allocations: 0.6962 MB / 1.225 GB, free: 5.496 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 4.01e-05/0.2756, allocations: 7.844 kB / 1.225 GB, free: 5.488 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.589e-05/0.2756, allocations: 19.44 kB / 1.225 GB, free: 5.469 MB / 0.9669 GB Notification: Performance of SimCode: time 4e-07/0.2756, allocations: 4 kB / 1.225 GB, free: 5.465 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02418/0.2998, allocations: 2.996 MB / 1.228 GB, free: 2.562 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.065/7.365, allocations: 15.48 kB / 1.228 GB, free: 2.555 MB / 0.9669 GB " [Timeout remaining time 293] (rm -f Buildings_10_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe ; mkfifo Buildings_10_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe >> ../files/Buildings_10_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn_res.csv --start-time 0 --stop-time 3600 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 Buildings_10_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTIn.fmu > Buildings_10_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTIn.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable win.occ in file Buildings_10_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn_res.csv. Warning: Get data of variable win.occ from file Buildings_10_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn_res.csv failed! Error: Could not read variable win.on in file Buildings_10_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn_res.csv. Warning: Get data of variable win.on from file Buildings_10_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn_res.csv failed! " [Timeout remaining time 300] "" Variables in the reference:time,win.TIn,win.occ,win.pOpen,win.on Variables in the result:time,win.TIn,win.pClose,win.pOpen,TIn.amplitude,TIn.f [Calling sys.exit(0), Time elapsed: 12.596087953003007]