Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Occupants.BaseClasses.Validation.Linear1D.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009787/0.0009787, allocations: 100.3 kB / 19.72 MB, free: 428 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00115/0.00115, allocations: 215.3 kB / 23.03 MB, free: 2.969 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9892/0.9892, allocations: 230.6 MB / 256.8 MB, free: 9.578 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.933/1.933, allocations: 0.5045 GB / 0.8104 GB, free: 2.734 MB / 0.6511 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.Linear1D,fileNamePrefix="Buildings_13_Buildings_Occupants_BaseClasses_Validation_Linear1D",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.Linear1D,fileNamePrefix="Buildings_13_Buildings_Occupants_BaseClasses_Validation_Linear1D",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.0008947/0.0008947, allocations: 67.89 kB / 1.177 GB, free: 11.98 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.733/0.7339, allocations: 180 MB / 1.352 GB, free: 1.648 MB / 1.026 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Linear1D): time 0.002014/0.7359, allocations: 1.244 MB / 1.354 GB, free: 404 kB / 1.026 GB Notification: Performance of NFInst.instExpressions: time 0.0007694/0.7367, allocations: 401.7 kB / 1.354 GB, free: 4 kB / 1.026 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.898e-05/0.7367, allocations: 0 / 1.354 GB, free: 4 kB / 1.026 GB Notification: Performance of NFTyping.typeComponents: time 0.0001221/0.7369, allocations: 11.98 kB / 1.354 GB, free: 15.99 MB / 1.042 GB Notification: Performance of NFTyping.typeBindings: time 3.29e-05/0.7369, allocations: 0 / 1.354 GB, free: 15.99 MB / 1.042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005977/0.7375, allocations: 111.6 kB / 1.354 GB, free: 15.88 MB / 1.042 GB Notification: Performance of NFFlatten.flatten: time 0.0001003/0.7376, allocations: 31.84 kB / 1.354 GB, free: 15.85 MB / 1.042 GB Notification: Performance of NFFlatten.resolveConnections: time 5.64e-05/0.7376, allocations: 0 / 1.354 GB, free: 15.85 MB / 1.042 GB Notification: Performance of NFEvalConstants.evaluate: time 3.409e-05/0.7377, allocations: 12 kB / 1.354 GB, free: 15.84 MB / 1.042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.071e-05/0.7377, allocations: 11.92 kB / 1.354 GB, free: 15.83 MB / 1.042 GB Notification: Performance of NFPackage.collectConstants: time 1.644e-05/0.7377, allocations: 0 / 1.354 GB, free: 15.83 MB / 1.042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002342/0.738, allocations: 131.7 kB / 1.354 GB, free: 15.7 MB / 1.042 GB Notification: Performance of NFScalarize.scalarize: time 6.079e-05/0.738, allocations: 27.92 kB / 1.354 GB, free: 15.67 MB / 1.042 GB Notification: Performance of NFVerifyModel.verify: time 4.806e-05/0.7381, allocations: 27.73 kB / 1.354 GB, free: 15.64 MB / 1.042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002337/0.7383, allocations: 121.8 kB / 1.354 GB, free: 15.53 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 8.206e-06/0.7383, allocations: 4 kB / 1.354 GB, free: 15.52 MB / 1.042 GB Notification: Performance of FrontEnd: time 3.918e-06/0.7383, allocations: 0 / 1.354 GB, free: 15.52 MB / 1.042 GB Notification: Performance of Transformations before backend: time 9.077e-06/0.7383, allocations: 3.938 kB / 1.354 GB, free: 15.52 MB / 1.042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.0005383/0.7389, allocations: 368.4 kB / 1.355 GB, free: 15.12 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 4.917e-05/0.7389, allocations: 12.92 kB / 1.355 GB, free: 15.11 MB / 1.042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.183e-05/0.739, allocations: 50.69 kB / 1.355 GB, free: 15.05 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.413e-05/0.7391, allocations: 8.891 kB / 1.355 GB, free: 15.04 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000111/0.7392, allocations: 130.3 kB / 1.355 GB, free: 14.89 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.106e-05/0.7392, allocations: 4.375 kB / 1.355 GB, free: 14.89 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.129e-05/0.7392, allocations: 384 / 1.355 GB, free: 14.89 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001694/0.7394, allocations: 149.9 kB / 1.355 GB, free: 14.73 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.199e-05/0.7394, allocations: 3.938 kB / 1.355 GB, free: 14.73 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.297e-05/0.7394, allocations: 7.984 kB / 1.355 GB, free: 14.72 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.531e-06/0.7394, allocations: 0 / 1.355 GB, free: 14.72 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.507e-05/0.7395, allocations: 59.98 kB / 1.355 GB, free: 14.66 MB / 1.042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003457/0.7398, allocations: 251.9 kB / 1.355 GB, free: 14.38 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001173/0.7399, allocations: 98.36 kB / 1.356 GB, free: 14.27 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.198e-05/0.74, allocations: 76.89 kB / 1.356 GB, free: 14.19 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.075e-05/0.74, allocations: 0 / 1.356 GB, free: 14.19 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001989/0.7402, allocations: 175.3 kB / 1.356 GB, free: 14.01 MB / 1.042 GB Notification: Performance of pre-optimization done (n=38): time 1.673e-06/0.7402, allocations: 0 / 1.356 GB, free: 14.01 MB / 1.042 GB Notification: Performance of matching and sorting (n=38): time 0.0004195/0.7406, allocations: 422.8 kB / 1.356 GB, free: 13.59 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.828e-05/0.7407, allocations: 87.38 kB / 1.356 GB, free: 13.49 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.703e-05/0.7408, allocations: 121.7 kB / 1.356 GB, free: 13.36 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 3.241e-05/0.7408, allocations: 53.69 kB / 1.356 GB, free: 13.3 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 3.342e-05/0.7408, allocations: 80.8 kB / 1.357 GB, free: 13.22 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 6.354e-05/0.7409, allocations: 103.3 kB / 1.357 GB, free: 13.12 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.748e-05/0.741, allocations: 97.45 kB / 1.357 GB, free: 13.02 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 0.0005066/0.7415, allocations: 334.8 kB / 1.357 GB, free: 12.68 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001256/0.7416, allocations: 148.5 kB / 1.357 GB, free: 12.54 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001663/0.7418, allocations: 209.2 kB / 1.357 GB, free: 12.31 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003157/0.7421, allocations: 405.3 kB / 1.358 GB, free: 11.9 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.987e-06/0.7421, allocations: 3.938 kB / 1.358 GB, free: 11.89 MB / 1.042 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0003795/0.7425, allocations: 454.4 kB / 1.358 GB, free: 11.45 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 1.597e-05/0.7425, allocations: 4 kB / 1.358 GB, free: 11.44 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.774e-06/0.7425, allocations: 4 kB / 1.358 GB, free: 11.44 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.71e-05/0.7425, allocations: 4 kB / 1.358 GB, free: 11.43 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.95e-05/0.7426, allocations: 19.92 kB / 1.358 GB, free: 11.41 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.566e-06/0.7426, allocations: 4 kB / 1.358 GB, free: 11.41 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.291e-05/0.7426, allocations: 31.73 kB / 1.358 GB, free: 11.38 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.418e-05/0.7427, allocations: 12 kB / 1.358 GB, free: 11.37 MB / 1.042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 72 (state[33],$PRE.state[33],state[32],$PRE.state[32],state[31],$PRE.state[31],state[30],$PRE.state[30],state[29],$PRE.state[29],state[28],$PRE.state[28],state[27],$PRE.state[27],state[26],$PRE.state[26],state[25],$PRE.state[25],state[24],$PRE.state[24],state[23],$PRE.state[23],state[22],$PRE.state[22],state[21],$PRE.state[21],state[20],$PRE.state[20],state[19],$PRE.state[19],state[18],$PRE.state[18],state[17],$PRE.state[17],state[16],$PRE.state[16],state[15],$PRE.state[15],state[14],$PRE.state[14],state[13],$PRE.state[13],state[12],$PRE.state[12],state[11],$PRE.state[11],state[10],$PRE.state[10],state[9],$PRE.state[9],state[8],$PRE.state[8],state[7],$PRE.state[7],state[6],$PRE.state[6],state[5],$PRE.state[5],state[4],$PRE.state[4],state[3],$PRE.state[3],state[2],$PRE.state[2],state[1],$PRE.state[1],r,$PRE.r,$whenCondition1,$outputAlias_y,$PRE.$outputAlias_y,y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (42): * Single equations (assignments): 41 * Array equations: 1 * 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.0001122/0.7428, allocations: 186.3 kB / 1.358 GB, free: 11.18 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.829e-06/0.7428, allocations: 11.91 kB / 1.359 GB, free: 11.17 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.371e-05/0.7428, allocations: 13.34 kB / 1.359 GB, free: 11.16 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/0.7428, allocations: 7.984 kB / 1.359 GB, free: 11.15 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.558e-06/0.7428, allocations: 0 / 1.359 GB, free: 11.15 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/0.7428, allocations: 0 / 1.359 GB, free: 11.15 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003465/0.7432, allocations: 0.5282 MB / 1.359 GB, free: 10.57 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.02e-07/0.7432, allocations: 0 / 1.359 GB, free: 10.57 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.648e-06/0.7432, allocations: 4 kB / 1.359 GB, free: 10.57 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.7432, allocations: 0 / 1.359 GB, free: 10.57 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.711e-06/0.7432, allocations: 0 / 1.359 GB, free: 10.57 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.7432, allocations: 4.375 kB / 1.359 GB, free: 10.56 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.153e-06/0.7432, allocations: 0 / 1.359 GB, free: 10.56 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002486/0.7434, allocations: 411.1 kB / 1.359 GB, free: 10.14 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.026e-05/0.7434, allocations: 15.91 kB / 1.359 GB, free: 10.13 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.472e-05/0.7435, allocations: 31.92 kB / 1.359 GB, free: 10.1 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.984e-05/0.7435, allocations: 0 / 1.359 GB, free: 10.1 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.287e-05/0.7435, allocations: 19.92 kB / 1.36 GB, free: 10.08 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.659e-06/0.7435, allocations: 0 / 1.36 GB, free: 10.08 MB / 1.042 GB Notification: Performance of sorting global known variables: time 2.716e-05/0.7436, allocations: 79.28 kB / 1.36 GB, free: 10 MB / 1.042 GB Notification: Performance of sort global known variables: time 7e-08/0.7436, allocations: 0 / 1.36 GB, free: 10 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.0002099/0.7438, allocations: 59.86 kB / 1.36 GB, free: 9.941 MB / 1.042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 37 ($whenCondition1,y,$outputAlias_y,state[1],state[2],state[3],state[4],state[5],state[6],state[7],state[8],state[9],state[10],state[11],state[12],state[13],state[14],state[15],state[16],state[17],state[18],state[19],state[20],state[21],state[22],state[23],state[24],state[25],state[26],state[27],state[28],state[29],state[30],state[31],state[32],state[33],r) * Number of discrete states: 33 (state[1],state[2],state[3],state[4],state[5],state[6],state[7],state[8],state[9],state[10],state[11],state[12],state[13],state[14],state[15],state[16],state[17],state[18],state[19],state[20],state[21],state[22],state[23],state[24],state[25],state[26],state[27],state[28],state[29],state[30],state[31],state[32],state[33]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0007707/0.7445, allocations: 1.161 MB / 1.361 GB, free: 8.766 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.0002511/0.7448, allocations: 265 kB / 1.361 GB, free: 8.508 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.7448, allocations: 0 / 1.361 GB, free: 8.508 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 5.219e-05/0.7448, allocations: 79.91 kB / 1.361 GB, free: 8.43 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001542/0.745, allocations: 4 kB / 1.361 GB, free: 8.426 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001559/0.7466, allocations: 2.516 MB / 1.364 GB, free: 5.793 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.956e-05/0.7466, allocations: 105.5 kB / 1.364 GB, free: 5.672 MB / 1.042 GB Notification: Performance of simCode: alias equations: time 2.463e-05/0.7466, allocations: 17.08 kB / 1.364 GB, free: 5.656 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.185e-05/0.7467, allocations: 35.44 kB / 1.364 GB, free: 5.621 MB / 1.042 GB Notification: Performance of SimCode: time 4.11e-07/0.7467, allocations: 0 / 1.364 GB, free: 5.621 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09063/0.8373, allocations: 3.708 MB / 1.367 GB, free: 2.07 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.146/7.984, allocations: 5.109 kB / 1.367 GB, free: 2.07 MB / 1.042 GB " [Timeout remaining time 292] (rm -f Buildings_13_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe ; mkfifo Buildings_13_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe ; head -c 1048576 < Buildings_13_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe >> ../files/Buildings_13_Buildings.Occupants.BaseClasses.Validation.Linear1D.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Buildings_13_Buildings_Occupants_BaseClasses_Validation_Linear1D_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 ../Buildings_13_Buildings_Occupants_BaseClasses_Validation_Linear1D.fmu) > Buildings_13_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe 2>&1) [Timeout 52.5] (rm -f Buildings_13_Buildings.Occupants.BaseClasses.Validation.Linear1D_fmpy.pipe ; mkfifo Buildings_13_Buildings.Occupants.BaseClasses.Validation.Linear1D_fmpy.pipe ; head -c 1048576 < Buildings_13_Buildings.Occupants.BaseClasses.Validation.Linear1D_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Occupants.BaseClasses.Validation.Linear1D_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_13_Buildings.Occupants.BaseClasses.Validation.Linear1D_fmpy_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ../Buildings_13_Buildings_Occupants_BaseClasses_Validation_Linear1D.fmu) > Buildings_13_Buildings.Occupants.BaseClasses.Validation.Linear1D_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.849311154335737]