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.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.00129/0.00129, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 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.001781/0.001781, allocations: 212.3 kB / 22.24 MB, free: 5.262 MB / 14.72 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 1.52/1.52, allocations: 230.6 MB / 256 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.917/2.917, allocations: 476 MB / 0.7699 GB, free: 4.91 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002096/0.002096, allocations: 66.8 kB / 1.117 GB, free: 41.01 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4176/0.4197, allocations: 170 MB / 1.283 GB, free: 12.43 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Linear1D): time 0.003148/0.4229, allocations: 1.243 MB / 1.284 GB, free: 11.18 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001083/0.424, allocations: 406.8 kB / 1.284 GB, free: 10.78 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.529e-05/0.424, allocations: 0 / 1.284 GB, free: 10.78 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 1.933e-05/0.424, allocations: 0 / 1.284 GB, free: 10.78 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 4.712e-05/0.4241, allocations: 3.938 kB / 1.284 GB, free: 10.78 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006917/0.4248, allocations: 115.6 kB / 1.284 GB, free: 10.66 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 7.29e-05/0.4248, allocations: 15.92 kB / 1.284 GB, free: 10.65 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 5.065e-05/0.4249, allocations: 4 kB / 1.284 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 2.868e-05/0.4249, allocations: 11.98 kB / 1.284 GB, free: 10.63 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 3.306e-05/0.425, allocations: 3.938 kB / 1.284 GB, free: 10.63 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.557e-05/0.425, allocations: 4 kB / 1.284 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003522/0.4253, allocations: 139.7 kB / 1.284 GB, free: 10.49 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.735e-05/0.4253, allocations: 0 / 1.284 GB, free: 10.49 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.276e-05/0.4254, allocations: 7.938 kB / 1.284 GB, free: 10.48 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002718/0.4256, allocations: 101 kB / 1.285 GB, free: 10.39 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.4256, allocations: 0 / 1.285 GB, free: 10.39 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.683e-06/0.4256, allocations: 4 kB / 1.285 GB, free: 10.38 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.162e-06/0.4257, allocations: 3.938 kB / 1.285 GB, free: 10.38 MB / 0.9825 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.0006148/0.4263, allocations: 303.9 kB / 1.285 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.895e-05/0.4263, allocations: 15.97 kB / 1.285 GB, free: 10.03 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.381e-05/0.4264, allocations: 30.75 kB / 1.285 GB, free: 9.988 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.147e-05/0.4264, allocations: 0.9375 kB / 1.285 GB, free: 9.988 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001286/0.4266, allocations: 110.5 kB / 1.285 GB, free: 9.855 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.54e-05/0.4266, allocations: 384 / 1.285 GB, free: 9.855 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.454e-05/0.4266, allocations: 4.375 kB / 1.285 GB, free: 9.852 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001343/0.4267, allocations: 50.22 kB / 1.285 GB, free: 9.797 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.104e-05/0.4267, allocations: 7.938 kB / 1.285 GB, free: 9.789 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.858e-06/0.4267, allocations: 0 / 1.285 GB, free: 9.789 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.4268, allocations: 0 / 1.285 GB, free: 9.789 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.668e-05/0.4268, allocations: 4 kB / 1.285 GB, free: 9.785 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000379/0.4272, allocations: 224 kB / 1.285 GB, free: 9.523 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001122/0.4273, allocations: 38.5 kB / 1.285 GB, free: 9.477 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.846e-05/0.4273, allocations: 12.86 kB / 1.285 GB, free: 9.461 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.225e-05/0.4273, allocations: 0 / 1.285 GB, free: 9.461 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000206/0.4275, allocations: 67.48 kB / 1.285 GB, free: 9.383 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=5): time 1.212e-06/0.4275, allocations: 3.938 kB / 1.285 GB, free: 9.379 MB / 0.9825 GB Notification: Performance of matching and sorting (n=5): time 0.0002391/0.4278, allocations: 69.69 kB / 1.285 GB, free: 9.305 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.78e-05/0.4278, allocations: 55.41 kB / 1.285 GB, free: 9.238 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001052/0.4279, allocations: 101.8 kB / 1.286 GB, free: 9.129 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.992e-05/0.428, allocations: 25.7 kB / 1.286 GB, free: 9.098 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 4.883e-05/0.428, allocations: 80.14 kB / 1.286 GB, free: 9.016 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.013e-05/0.428, allocations: 19.89 kB / 1.286 GB, free: 8.996 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.367e-05/0.4281, allocations: 21.66 kB / 1.286 GB, free: 8.969 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001745/0.4283, allocations: 314.8 kB / 1.286 GB, free: 8.652 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.602e-05/0.4283, allocations: 15.98 kB / 1.286 GB, free: 8.637 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.29e-05/0.4283, allocations: 43.3 kB / 1.286 GB, free: 8.582 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.306e-05/0.4284, allocations: 47.42 kB / 1.286 GB, free: 8.523 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.358e-06/0.4284, allocations: 3.938 kB / 1.286 GB, free: 8.52 MB / 0.9825 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001297/0.4285, allocations: 73.84 kB / 1.286 GB, free: 8.441 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.009e-05/0.4286, allocations: 7.984 kB / 1.286 GB, free: 8.434 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/0.4286, allocations: 0 / 1.286 GB, free: 8.434 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.098e-05/0.4286, allocations: 4 kB / 1.286 GB, free: 8.43 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.917e-05/0.4287, allocations: 12.06 kB / 1.286 GB, free: 8.418 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.51e-06/0.4287, allocations: 0 / 1.286 GB, free: 8.418 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.819e-05/0.4287, allocations: 3.953 kB / 1.286 GB, free: 8.414 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.324e-05/0.4287, allocations: 11.98 kB / 1.286 GB, free: 8.402 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 (curSeed,$PRE.curSeed,$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 (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 0.0001044/0.4288, allocations: 121.7 kB / 1.286 GB, free: 8.273 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.088e-05/0.4288, allocations: 0 / 1.286 GB, free: 8.273 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.903e-05/0.4289, allocations: 15.73 kB / 1.286 GB, free: 8.262 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.883e-06/0.4289, allocations: 0 / 1.286 GB, free: 8.262 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.628e-06/0.4289, allocations: 0 / 1.286 GB, free: 8.262 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.4289, allocations: 0 / 1.286 GB, free: 8.262 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003196/0.4292, allocations: 265.7 kB / 1.287 GB, free: 7.953 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.4292, allocations: 4 kB / 1.287 GB, free: 7.949 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.066e-05/0.4292, allocations: 4 kB / 1.287 GB, free: 7.945 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.905e-06/0.4292, allocations: 0 / 1.287 GB, free: 7.945 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.779e-05/0.4292, allocations: 7.984 kB / 1.287 GB, free: 7.938 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.867e-06/0.4292, allocations: 3.938 kB / 1.287 GB, free: 7.934 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.4292, allocations: 0 / 1.287 GB, free: 7.934 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001913/0.4294, allocations: 169.4 kB / 1.287 GB, free: 7.754 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 8.997e-06/0.4294, allocations: 4 kB / 1.287 GB, free: 7.75 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.413e-05/0.4295, allocations: 3.984 kB / 1.287 GB, free: 7.746 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.182e-05/0.4295, allocations: 4 kB / 1.287 GB, free: 7.742 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.139e-05/0.4295, allocations: 8 kB / 1.287 GB, free: 7.734 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.463e-06/0.4295, allocations: 0 / 1.287 GB, free: 7.734 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.262e-05/0.4296, allocations: 83.27 kB / 1.287 GB, free: 7.652 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.4296, allocations: 0 / 1.287 GB, free: 7.652 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003119/0.4299, allocations: 35.88 kB / 1.287 GB, free: 7.617 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,y,$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.0009035/0.4308, allocations: 0.7668 MB / 1.288 GB, free: 6.836 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001311/0.4309, allocations: 35.92 kB / 1.288 GB, free: 6.801 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.4309, allocations: 0 / 1.288 GB, free: 6.801 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 4.935e-05/0.431, allocations: 15.98 kB / 1.288 GB, free: 6.785 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002133/0.4312, allocations: 7.938 kB / 1.288 GB, free: 6.777 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00134/0.4325, allocations: 1.269 MB / 1.289 GB, free: 5.41 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.86e-05/0.4326, allocations: 63.34 kB / 1.289 GB, free: 5.328 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.019e-05/0.4326, allocations: 0 / 1.289 GB, free: 5.328 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.811e-05/0.4327, allocations: 23.36 kB / 1.289 GB, free: 5.305 MB / 0.9825 GB Notification: Performance of SimCode: time 3.51e-07/0.4327, allocations: 4.125 kB / 1.289 GB, free: 5.301 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03202/0.4647, allocations: 2.52 MB / 1.292 GB, free: 2.918 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.63/12.09, allocations: 6.188 kB / 1.292 GB, free: 2.914 MB / 0.9825 GB " [Timeout remaining time 287] (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: 19.102209318894893]