Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) 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.BaseClasses.Validation.Linear1D,fileNamePrefix="Buildings_10_Buildings_Occupants_BaseClasses_Validation_Linear1D",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.Linear1D,fileNamePrefix="Buildings_10_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.001678/0.001678, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001889/0.001889, allocations: 193.9 kB / 16.53 MB, free: 6.391 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.359/1.359, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.566/2.566, allocations: 437.1 MB / 0.7104 GB, free: 5.059 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001395/0.001395, allocations: 63.91 kB / 0.8693 GB, free: 4.578 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5334/0.5348, allocations: 151.6 MB / 1.017 GB, free: 2.477 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Linear1D): time 0.002269/0.5371, allocations: 1.211 MB / 1.019 GB, free: 1.254 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0007925/0.5379, allocations: 418.5 kB / 1.019 GB, free: 0.8438 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.51e-05/0.5379, allocations: 0 / 1.019 GB, free: 0.8438 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.012e-05/0.538, allocations: 3.938 kB / 1.019 GB, free: 0.8398 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 3.532e-05/0.538, allocations: 3.984 kB / 1.019 GB, free: 0.8359 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005442/0.5386, allocations: 103.7 kB / 1.019 GB, free: 0.7344 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 5.843e-05/0.5386, allocations: 19.92 kB / 1.019 GB, free: 0.7148 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 4.342e-05/0.5387, allocations: 0 / 1.019 GB, free: 0.7148 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 2.505e-05/0.5387, allocations: 15.91 kB / 1.019 GB, free: 0.6992 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 2.509e-05/0.5387, allocations: 12 kB / 1.019 GB, free: 0.6875 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.199e-05/0.5388, allocations: 0 / 1.019 GB, free: 0.6875 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001875/0.5389, allocations: 103.8 kB / 1.019 GB, free: 0.5859 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.66e-05/0.539, allocations: 3.938 kB / 1.019 GB, free: 0.582 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.86e-05/0.539, allocations: 8 kB / 1.019 GB, free: 0.5742 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001721/0.5392, allocations: 95.8 kB / 1.019 GB, free: 492 kB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.5392, allocations: 0 / 1.019 GB, free: 492 kB / 0.7637 GB Notification: Performance of FrontEnd: time 1.423e-06/0.5392, allocations: 0 / 1.019 GB, free: 492 kB / 0.7637 GB Notification: Performance of Transformations before backend: time 7.214e-06/0.5392, allocations: 0 / 1.019 GB, free: 492 kB / 0.7637 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.0004399/0.5397, allocations: 388.6 kB / 1.02 GB, free: 48 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.455e-05/0.5397, allocations: 8.031 kB / 1.02 GB, free: 40 kB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.035e-05/0.5398, allocations: 38.8 kB / 1.02 GB, free: 15.99 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.711e-05/0.5398, allocations: 4.844 kB / 1.02 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.712e-05/0.5399, allocations: 160.4 kB / 1.02 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.232e-05/0.5399, allocations: 4.375 kB / 1.02 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.888e-06/0.5399, allocations: 4.312 kB / 1.02 GB, free: 15.78 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.888e-05/0.54, allocations: 46.19 kB / 1.02 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.869e-06/0.5401, allocations: 3.938 kB / 1.02 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.864e-06/0.5401, allocations: 0 / 1.02 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-06/0.5401, allocations: 4 kB / 1.02 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.322e-05/0.5401, allocations: 4 kB / 1.02 GB, free: 15.72 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002964/0.5404, allocations: 248.9 kB / 1.02 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 8.963e-05/0.5405, allocations: 42.44 kB / 1.02 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.816e-05/0.5406, allocations: 16.94 kB / 1.02 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 9.809e-06/0.5406, allocations: 4 kB / 1.02 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001378/0.5407, allocations: 55.41 kB / 1.02 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=5): time 1.222e-06/0.5407, allocations: 0 / 1.02 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of matching and sorting (n=5): time 0.0001927/0.5409, allocations: 77.52 kB / 1.02 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.898e-05/0.541, allocations: 55.41 kB / 1.02 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.077e-05/0.5411, allocations: 105.8 kB / 1.021 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.366e-05/0.5411, allocations: 29.7 kB / 1.021 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.056e-05/0.5411, allocations: 84.14 kB / 1.021 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.56e-05/0.5411, allocations: 11.89 kB / 1.021 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.684e-05/0.5412, allocations: 29.7 kB / 1.021 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.691e-05/0.5413, allocations: 314.8 kB / 1.021 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.028e-05/0.5413, allocations: 8 kB / 1.021 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.559e-05/0.5413, allocations: 35.42 kB / 1.021 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.732e-05/0.5414, allocations: 55.55 kB / 1.021 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.5414, allocations: 4.188 kB / 1.021 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of matching and sorting (n=8) (initialization): time 9.902e-05/0.5415, allocations: 73.52 kB / 1.021 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.355e-05/0.5415, allocations: 8 kB / 1.021 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.224e-06/0.5415, allocations: 4 kB / 1.021 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.135e-05/0.5416, allocations: 0 / 1.021 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.651e-05/0.5416, allocations: 16 kB / 1.021 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.507e-06/0.5416, allocations: 12.12 kB / 1.021 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.366e-05/0.5417, allocations: 3.938 kB / 1.021 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.01e-05/0.5417, allocations: 4 kB / 1.021 GB, free: 14.29 MB / 0.7794 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 6.722e-05/0.5417, allocations: 113.8 kB / 1.021 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.209e-05/0.5418, allocations: 4 kB / 1.021 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.821e-05/0.5418, allocations: 3.562 kB / 1.021 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.5418, allocations: 0 / 1.021 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.5418, allocations: 0 / 1.021 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.955e-06/0.5418, allocations: 4 kB / 1.021 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002342/0.5421, allocations: 314.3 kB / 1.022 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.5421, allocations: 0 / 1.022 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.898e-05/0.5421, allocations: 4 kB / 1.022 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.5421, allocations: 0 / 1.022 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.885e-06/0.5421, allocations: 0 / 1.022 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.397e-06/0.5421, allocations: 3.984 kB / 1.022 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.92e-07/0.5421, allocations: 4 kB / 1.022 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001431/0.5423, allocations: 167.4 kB / 1.022 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.089e-05/0.5423, allocations: 77.11 kB / 1.022 GB, free: 13.51 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.378e-05/0.5423, allocations: 0 / 1.022 GB, free: 13.51 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.22e-05/0.5424, allocations: 3.984 kB / 1.022 GB, free: 13.51 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.346e-05/0.5424, allocations: 4 kB / 1.022 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.71e-06/0.5424, allocations: 0 / 1.022 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.589e-05/0.5425, allocations: 83.28 kB / 1.022 GB, free: 13.42 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5425, allocations: 3.938 kB / 1.022 GB, free: 13.42 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.000285/0.5428, allocations: 35.92 kB / 1.022 GB, free: 13.38 MB / 0.7794 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.0006451/0.5434, allocations: 0.769 MB / 1.023 GB, free: 12.6 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001216/0.5436, allocations: 39.92 kB / 1.023 GB, free: 12.56 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.5436, allocations: 4.125 kB / 1.023 GB, free: 12.56 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 4.08e-05/0.5436, allocations: 19.86 kB / 1.023 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002092/0.5438, allocations: 8 kB / 1.023 GB, free: 12.53 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001069/0.5449, allocations: 1.259 MB / 1.024 GB, free: 11.18 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002296/0.5451, allocations: 0.6807 MB / 1.025 GB, free: 10.47 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 1.839e-05/0.5452, allocations: 0 / 1.025 GB, free: 10.47 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.001e-05/0.5452, allocations: 15.44 kB / 1.025 GB, free: 10.45 MB / 0.7794 GB Notification: Performance of SimCode: time 4.1e-07/0.5452, allocations: 0 / 1.025 GB, free: 10.45 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01827/0.5635, allocations: 1.966 MB / 1.027 GB, free: 8.562 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.386/7.949, allocations: 7.953 kB / 1.027 GB, free: 8.555 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe ; mkfifo Buildings_10_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe >> ../files/Buildings_10_Buildings.Occupants.BaseClasses.Validation.Linear1D.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Occupants.BaseClasses.Validation.Linear1D_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_10_Buildings_Occupants_BaseClasses_Validation_Linear1D.fmu > Buildings_10_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.BaseClasses.Validation.Linear1D_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_BaseClasses_Validation_Linear1D.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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