Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_Buildings_Occupants_BaseClasses_Validation_Linear1D",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.Linear1D,fileNamePrefix="Buildings_latest_Buildings_Occupants_BaseClasses_Validation_Linear1D",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004099/0.004099, allocations: 99.34 kB / 15.73 MB, free: 6.008 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001515/0.001515, allocations: 197.5 kB / 16.67 MB, free: 5.934 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.405/1.405, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.822/2.822, allocations: 482.4 MB / 0.7548 GB, free: 6.859 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.00202/0.00202, allocations: 67.28 kB / 1.083 GB, free: 13.92 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2733/0.2753, allocations: 162.2 MB / 1.241 GB, free: 9.312 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Linear1D): time 0.002258/0.2776, allocations: 1.222 MB / 1.243 GB, free: 8.082 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0008222/0.2785, allocations: 416.4 kB / 1.243 GB, free: 7.676 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.372e-05/0.2785, allocations: 0 / 1.243 GB, free: 7.676 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 1.741e-05/0.2785, allocations: 3.938 kB / 1.243 GB, free: 7.672 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 3.805e-05/0.2786, allocations: 7.922 kB / 1.243 GB, free: 7.664 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004804/0.2791, allocations: 103.6 kB / 1.243 GB, free: 7.562 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 5.457e-05/0.2791, allocations: 11.98 kB / 1.243 GB, free: 7.551 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 3.512e-05/0.2792, allocations: 8 kB / 1.243 GB, free: 7.543 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 2.519e-05/0.2792, allocations: 11.98 kB / 1.243 GB, free: 7.531 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 2.892e-05/0.2792, allocations: 15.86 kB / 1.243 GB, free: 7.516 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.091e-05/0.2792, allocations: 0 / 1.243 GB, free: 7.516 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001983/0.2794, allocations: 95.91 kB / 1.243 GB, free: 7.422 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.811e-05/0.2795, allocations: 7.984 kB / 1.243 GB, free: 7.414 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.604e-05/0.2795, allocations: 7.938 kB / 1.243 GB, free: 7.406 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001902/0.2797, allocations: 99.97 kB / 1.243 GB, free: 7.309 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 2.464e-06/0.2797, allocations: 3.938 kB / 1.243 GB, free: 7.305 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.142e-06/0.2797, allocations: 0 / 1.243 GB, free: 7.305 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.057e-06/0.2797, allocations: 0 / 1.243 GB, free: 7.305 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004834/0.2802, allocations: 381 kB / 1.244 GB, free: 6.875 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.007e-05/0.2803, allocations: 12.03 kB / 1.244 GB, free: 6.863 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.861e-05/0.2803, allocations: 30.75 kB / 1.244 GB, free: 6.824 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.01e-05/0.2804, allocations: 12.88 kB / 1.244 GB, free: 6.812 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001192/0.2805, allocations: 164.3 kB / 1.244 GB, free: 6.613 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.814e-05/0.2805, allocations: 384 / 1.244 GB, free: 6.613 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.51e-05/0.2805, allocations: 8.375 kB / 1.244 GB, free: 6.605 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001058/0.2806, allocations: 34.25 kB / 1.244 GB, free: 6.566 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.141e-05/0.2807, allocations: 11.94 kB / 1.244 GB, free: 6.555 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.635e-06/0.2807, allocations: 0 / 1.244 GB, free: 6.555 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.971e-06/0.2807, allocations: 3.984 kB / 1.244 GB, free: 6.551 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.644e-05/0.2807, allocations: 11.94 kB / 1.244 GB, free: 6.539 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003105/0.281, allocations: 241 kB / 1.244 GB, free: 6.254 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 9.713e-05/0.2811, allocations: 38.48 kB / 1.244 GB, free: 6.207 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.257e-05/0.2812, allocations: 24.8 kB / 1.244 GB, free: 6.18 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 9.598e-06/0.2812, allocations: 3.938 kB / 1.244 GB, free: 6.176 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001438/0.2814, allocations: 63.42 kB / 1.244 GB, free: 6.102 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=5): time 1.412e-06/0.2814, allocations: 0 / 1.244 GB, free: 6.102 MB / 0.9669 GB Notification: Performance of matching and sorting (n=5): time 0.0002045/0.2816, allocations: 73.64 kB / 1.244 GB, free: 6.023 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.012e-05/0.2816, allocations: 55.39 kB / 1.244 GB, free: 5.957 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.976e-05/0.2817, allocations: 97.86 kB / 1.245 GB, free: 5.852 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.745e-05/0.2817, allocations: 33.7 kB / 1.245 GB, free: 5.812 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 4.051e-05/0.2818, allocations: 80.14 kB / 1.245 GB, free: 5.73 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.025e-05/0.2818, allocations: 19.88 kB / 1.245 GB, free: 5.711 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.409e-05/0.2819, allocations: 21.72 kB / 1.245 GB, free: 5.684 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001281/0.282, allocations: 310.8 kB / 1.245 GB, free: 5.371 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.607e-05/0.282, allocations: 15.98 kB / 1.245 GB, free: 5.355 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.523e-05/0.2821, allocations: 39.62 kB / 1.245 GB, free: 5.305 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.774e-05/0.2821, allocations: 47.36 kB / 1.245 GB, free: 5.246 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.901e-06/0.2822, allocations: 7.938 kB / 1.245 GB, free: 5.238 MB / 0.9669 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001199/0.2823, allocations: 73.61 kB / 1.245 GB, free: 5.16 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.181e-05/0.2823, allocations: 4 kB / 1.245 GB, free: 5.156 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.088e-06/0.2823, allocations: 0 / 1.245 GB, free: 5.156 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.519e-05/0.2823, allocations: 8.062 kB / 1.245 GB, free: 5.148 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.58e-05/0.2824, allocations: 8 kB / 1.245 GB, free: 5.141 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.709e-06/0.2824, allocations: 0 / 1.245 GB, free: 5.141 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.521e-05/0.2824, allocations: 4 kB / 1.245 GB, free: 5.137 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.227e-06/0.2824, allocations: 4 kB / 1.245 GB, free: 5.133 MB / 0.9669 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 8.717e-05/0.2825, allocations: 122.2 kB / 1.245 GB, free: 5.004 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.426e-05/0.2826, allocations: 7.938 kB / 1.245 GB, free: 4.996 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.076e-05/0.2826, allocations: 7.562 kB / 1.245 GB, free: 4.988 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.497e-06/0.2826, allocations: 4 kB / 1.245 GB, free: 4.984 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.2826, allocations: 4 kB / 1.245 GB, free: 4.98 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-06/0.2826, allocations: 0 / 1.245 GB, free: 4.98 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000292/0.2829, allocations: 298.6 kB / 1.246 GB, free: 4.633 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.2829, allocations: 0 / 1.246 GB, free: 4.633 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.89e-05/0.2829, allocations: 4.219 kB / 1.246 GB, free: 4.629 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.057e-06/0.2829, allocations: 4 kB / 1.246 GB, free: 4.625 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.953e-06/0.283, allocations: 0 / 1.246 GB, free: 4.625 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.442e-06/0.283, allocations: 0 / 1.246 GB, free: 4.625 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.283, allocations: 0 / 1.246 GB, free: 4.625 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001709/0.2831, allocations: 175.4 kB / 1.246 GB, free: 4.438 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.327e-05/0.2832, allocations: 85 kB / 1.246 GB, free: 4.336 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.557e-05/0.2832, allocations: 4 kB / 1.246 GB, free: 4.332 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.217e-05/0.2833, allocations: 0 / 1.246 GB, free: 4.332 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.863e-05/0.2833, allocations: 0 / 1.246 GB, free: 4.332 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.202e-05/0.2833, allocations: 12.11 kB / 1.246 GB, free: 4.32 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 4.315e-05/0.2834, allocations: 75.28 kB / 1.246 GB, free: 4.246 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.11e-07/0.2834, allocations: 0 / 1.246 GB, free: 4.246 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002907/0.2837, allocations: 35.88 kB / 1.246 GB, free: 4.211 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: 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.0007411/0.2844, allocations: 0.7721 MB / 1.247 GB, free: 3.422 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0001166/0.2845, allocations: 39.98 kB / 1.247 GB, free: 3.383 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.2845, allocations: 0 / 1.247 GB, free: 3.383 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 4.046e-05/0.2846, allocations: 16 kB / 1.247 GB, free: 3.367 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00021/0.2848, allocations: 1.719 kB / 1.247 GB, free: 3.367 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00114/0.286, allocations: 1.277 MB / 1.248 GB, free: 1.992 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002928/0.2863, allocations: 0.6806 MB / 1.249 GB, free: 1.285 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 1.935e-05/0.2863, allocations: 8.234 kB / 1.249 GB, free: 1.277 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.455e-05/0.2863, allocations: 11.44 kB / 1.249 GB, free: 1.27 MB / 0.9669 GB Notification: Performance of SimCode: time 3.01e-07/0.2863, allocations: 3.938 kB / 1.249 GB, free: 1.266 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02165/0.308, allocations: 1.997 MB / 1.251 GB, free: 15.36 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.572/7.88, allocations: 18.12 kB / 1.251 GB, free: 15.35 MB / 0.9825 GB (rm -f Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe ; mkfifo Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe >> ../files/Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Linear1D.sim & python3 -m fmpy simulate --output-file Buildings_latest_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_latest_Buildings_Occupants_BaseClasses_Validation_Linear1D.fmu > Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Linear1D_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_BaseClasses_Validation_Linear1D.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Linear1D.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,y Variables in the result:time,y