Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.BaseClasses.Validation.Linear1D.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.001396/0.001396, allocations: 103.6 kB / 17.54 MB, free: 4.777 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.001373/0.001373, allocations: 186.6 kB / 20.71 MB, free: 1.621 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.296/1.296, allocations: 225.6 MB / 249.3 MB, free: 3.156 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.494/2.494, allocations: 476.7 MB / 0.7628 GB, free: 15.12 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.BaseClasses.Validation.Linear1D,fileNamePrefix="Buildings_11_Buildings_Occupants_BaseClasses_Validation_Linear1D",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.Linear1D,fileNamePrefix="Buildings_11_Buildings_Occupants_BaseClasses_Validation_Linear1D",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00177/0.00177, allocations: 63.89 kB / 1.107 GB, free: 5.176 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7586/0.7603, allocations: 168.7 MB / 1.271 GB, free: 7.715 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Linear1D): time 0.001854/0.7622, allocations: 1.236 MB / 1.273 GB, free: 6.863 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0007008/0.7629, allocations: 421.7 kB / 1.273 GB, free: 6.602 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.189e-05/0.7629, allocations: 4 kB / 1.273 GB, free: 6.598 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 1.468e-05/0.7629, allocations: 4.781 kB / 1.273 GB, free: 6.594 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 3.91e-05/0.763, allocations: 0.75 kB / 1.273 GB, free: 6.594 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004357/0.7634, allocations: 107.8 kB / 1.273 GB, free: 6.543 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 6.104e-05/0.7635, allocations: 15.95 kB / 1.273 GB, free: 6.539 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.315e-05/0.7635, allocations: 6.5 kB / 1.273 GB, free: 6.535 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.03e-05/0.7635, allocations: 9.094 kB / 1.273 GB, free: 6.531 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 2.734e-05/0.7636, allocations: 5.328 kB / 1.273 GB, free: 6.531 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.168e-05/0.7636, allocations: 1.75 kB / 1.273 GB, free: 6.531 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002014/0.7638, allocations: 114 kB / 1.273 GB, free: 6.492 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.394e-05/0.7638, allocations: 6.375 kB / 1.273 GB, free: 6.488 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 2.98e-05/0.7638, allocations: 8.516 kB / 1.273 GB, free: 6.484 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001745/0.764, allocations: 100.6 kB / 1.273 GB, free: 6.449 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.217e-06/0.764, allocations: 1.578 kB / 1.273 GB, free: 6.449 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.453e-06/0.764, allocations: 0 / 1.273 GB, free: 6.449 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.168e-06/0.764, allocations: 0 / 1.273 GB, free: 6.449 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003521/0.7643, allocations: 380.8 kB / 1.274 GB, free: 6.043 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.325e-05/0.7644, allocations: 10.05 kB / 1.274 GB, free: 6.043 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.895e-05/0.7644, allocations: 40.3 kB / 1.274 GB, free: 5.996 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.421e-05/0.7645, allocations: 7.078 kB / 1.274 GB, free: 5.992 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.617e-05/0.7645, allocations: 167.5 kB / 1.274 GB, free: 5.793 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.991e-05/0.7645, allocations: 2.547 kB / 1.274 GB, free: 5.793 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.477e-06/0.7645, allocations: 6.812 kB / 1.274 GB, free: 5.789 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.255e-05/0.7646, allocations: 42.14 kB / 1.274 GB, free: 5.754 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.106e-06/0.7646, allocations: 8.844 kB / 1.274 GB, free: 5.746 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.742e-06/0.7646, allocations: 0 / 1.274 GB, free: 5.746 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.7647, allocations: 0.6875 kB / 1.274 GB, free: 5.746 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.01e-05/0.7647, allocations: 6.078 kB / 1.274 GB, free: 5.746 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002156/0.7649, allocations: 243.3 kB / 1.274 GB, free: 5.477 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 8.179e-05/0.765, allocations: 36.39 kB / 1.274 GB, free: 5.445 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.17e-05/0.765, allocations: 18.16 kB / 1.274 GB, free: 5.434 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 8.506e-06/0.765, allocations: 0 / 1.274 GB, free: 5.434 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.764e-05/0.7651, allocations: 68.28 kB / 1.274 GB, free: 5.371 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=5): time 1.132e-06/0.7651, allocations: 0 / 1.274 GB, free: 5.371 MB / 0.9981 GB Notification: Performance of matching and sorting (n=5): time 0.0001782/0.7653, allocations: 75.33 kB / 1.274 GB, free: 5.324 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.529e-05/0.7653, allocations: 52.53 kB / 1.274 GB, free: 5.262 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.951e-05/0.7654, allocations: 101.3 kB / 1.275 GB, free: 5.16 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 7.263e-06/0.7654, allocations: 27.27 kB / 1.275 GB, free: 5.129 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 1.49e-05/0.7654, allocations: 81.67 kB / 1.275 GB, free: 5.047 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.419e-05/0.7654, allocations: 26.84 kB / 1.275 GB, free: 5.023 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.879e-05/0.7654, allocations: 25.7 kB / 1.275 GB, free: 5 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.486e-05/0.7655, allocations: 316.7 kB / 1.275 GB, free: 4.684 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.971e-05/0.7655, allocations: 7.922 kB / 1.275 GB, free: 4.684 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.572e-05/0.7655, allocations: 33.27 kB / 1.275 GB, free: 4.648 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.84e-05/0.7656, allocations: 52.95 kB / 1.275 GB, free: 4.602 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.7656, allocations: 4.875 kB / 1.275 GB, free: 4.598 MB / 0.9981 GB Notification: Performance of matching and sorting (n=8) (initialization): time 8.649e-05/0.7656, allocations: 68.75 kB / 1.275 GB, free: 4.555 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.116e-05/0.7657, allocations: 6.281 kB / 1.275 GB, free: 4.555 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.997e-06/0.7657, allocations: 0.875 kB / 1.275 GB, free: 4.555 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.23e-05/0.7657, allocations: 1.188 kB / 1.275 GB, free: 4.555 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.302e-05/0.7657, allocations: 12.7 kB / 1.275 GB, free: 4.551 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.512e-06/0.7657, allocations: 6.516 kB / 1.275 GB, free: 4.547 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.195e-05/0.7658, allocations: 8.859 kB / 1.275 GB, free: 4.539 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.715e-06/0.7658, allocations: 7 kB / 1.275 GB, free: 4.535 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 5 (curSeed,$PRE.curSeed,$whenCondition1,$outputAlias_y,$PRE.$outputAlias_y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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 4.272e-05/0.7658, allocations: 117.9 kB / 1.275 GB, free: 4.414 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.033e-05/0.7658, allocations: 1.781 kB / 1.275 GB, free: 4.414 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.874e-05/0.7658, allocations: 7.25 kB / 1.275 GB, free: 4.41 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.7658, allocations: 4.625 kB / 1.275 GB, free: 4.406 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.7658, allocations: 0.7812 kB / 1.275 GB, free: 4.406 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.7658, allocations: 0 / 1.275 GB, free: 4.406 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001633/0.766, allocations: 300.3 kB / 1.276 GB, free: 4.094 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.001e-06/0.766, allocations: 4.812 kB / 1.276 GB, free: 4.09 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.662e-05/0.766, allocations: 7.438 kB / 1.276 GB, free: 4.086 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.362e-06/0.766, allocations: 0 / 1.276 GB, free: 4.086 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.533e-06/0.766, allocations: 0.6875 kB / 1.276 GB, free: 4.086 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.766, allocations: 2.953 kB / 1.276 GB, free: 4.086 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.766, allocations: 1.062 kB / 1.276 GB, free: 4.086 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001045/0.7661, allocations: 164.3 kB / 1.276 GB, free: 3.938 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.463e-05/0.7661, allocations: 82.91 kB / 1.276 GB, free: 3.84 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.12e-05/0.7662, allocations: 5.188 kB / 1.276 GB, free: 3.836 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.626e-05/0.7662, allocations: 1.094 kB / 1.276 GB, free: 3.836 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.99e-05/0.7662, allocations: 6.375 kB / 1.276 GB, free: 3.832 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.072e-06/0.7662, allocations: 2.875 kB / 1.276 GB, free: 3.832 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 2.083e-05/0.7663, allocations: 88.27 kB / 1.276 GB, free: 3.75 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/0.7663, allocations: 0 / 1.276 GB, free: 3.75 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002561/0.7665, allocations: 37.42 kB / 1.276 GB, free: 3.738 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: 3 ($whenCondition1,$outputAlias_y,curSeed) * Number of discrete states: 0 () * 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.000487/0.767, allocations: 0.7648 MB / 1.277 GB, free: 3.043 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0001056/0.7671, allocations: 43.81 kB / 1.277 GB, free: 3.023 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.7671, allocations: 0.9375 kB / 1.277 GB, free: 3.023 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 3.267e-05/0.7671, allocations: 9.625 kB / 1.277 GB, free: 3.023 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001865/0.7673, allocations: 12.09 kB / 1.277 GB, free: 3.016 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008363/0.7682, allocations: 1.27 MB / 1.278 GB, free: 17.77 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002858/0.7684, allocations: 0.6799 MB / 1.279 GB, free: 17.07 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 1.871e-05/0.7685, allocations: 6.594 kB / 1.279 GB, free: 17.07 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.537e-05/0.7685, allocations: 11.84 kB / 1.279 GB, free: 17.06 MB / 1.014 GB Notification: Performance of SimCode: time 3.31e-07/0.7685, allocations: 0 / 1.279 GB, free: 17.06 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02319/0.7917, allocations: 1.994 MB / 1.281 GB, free: 16.59 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.036/7.828, allocations: 11.11 kB / 1.281 GB, free: 16.59 MB / 1.014 GB " [Timeout remaining time 292] (rm -f Buildings_11_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe ; mkfifo Buildings_11_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe >> ../files/Buildings_11_Buildings.Occupants.BaseClasses.Validation.Linear1D.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Occupants.BaseClasses.Validation.Linear1D_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_11_Buildings_Occupants_BaseClasses_Validation_Linear1D.fmu > Buildings_11_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Occupants.BaseClasses.Validation.Linear1D_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_BaseClasses_Validation_Linear1D.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.BaseClasses.Validation.Linear1D.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] "" Variables in the reference:time,y Variables in the result:time,y [Calling sys.exit(0), Time elapsed: 13.17381832099636]