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.004656/0.004656, allocations: 97 kB / 15.73 MB, free: 5.949 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.001104/0.001104, allocations: 192.9 kB / 16.67 MB, free: 5.871 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.299/1.299, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.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.412/2.412, allocations: 437 MB / 0.7105 GB, free: 4.367 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001248/0.001248, allocations: 60.12 kB / 1.018 GB, free: 9.938 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6623/0.6635, allocations: 151.6 MB / 1.166 GB, free: 3.77 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Linear1D): time 0.002116/0.6657, allocations: 1.206 MB / 1.167 GB, free: 2.555 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0007809/0.6665, allocations: 433 kB / 1.168 GB, free: 2.133 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.611e-05/0.6665, allocations: 0 / 1.168 GB, free: 2.133 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 1.415e-05/0.6666, allocations: 0 / 1.168 GB, free: 2.133 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 3.812e-05/0.6666, allocations: 7.922 kB / 1.168 GB, free: 2.125 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004863/0.6671, allocations: 99.66 kB / 1.168 GB, free: 2.027 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 6.283e-05/0.6672, allocations: 19.98 kB / 1.168 GB, free: 2.008 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 3.744e-05/0.6672, allocations: 3.984 kB / 1.168 GB, free: 2.004 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 2.661e-05/0.6673, allocations: 7.938 kB / 1.168 GB, free: 1.996 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 2.633e-05/0.6673, allocations: 11.92 kB / 1.168 GB, free: 1.984 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.091e-05/0.6673, allocations: 4 kB / 1.168 GB, free: 1.98 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001959/0.6675, allocations: 99.91 kB / 1.168 GB, free: 1.883 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 1.561e-05/0.6675, allocations: 3.984 kB / 1.168 GB, free: 1.879 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 2.888e-05/0.6676, allocations: 11.94 kB / 1.168 GB, free: 1.867 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001833/0.6678, allocations: 87.47 kB / 1.168 GB, free: 1.785 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.6678, allocations: 7.938 kB / 1.168 GB, free: 1.777 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.383e-06/0.6678, allocations: 0 / 1.168 GB, free: 1.777 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 7.584e-06/0.6678, allocations: 0 / 1.168 GB, free: 1.777 MB / 0.8887 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.0004619/0.6683, allocations: 384.9 kB / 1.168 GB, free: 1.344 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.714e-05/0.6683, allocations: 12.92 kB / 1.168 GB, free: 1.332 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.224e-05/0.6684, allocations: 30.75 kB / 1.168 GB, free: 1.293 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.399e-05/0.6684, allocations: 12.88 kB / 1.168 GB, free: 1.281 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.937e-05/0.6685, allocations: 164.3 kB / 1.169 GB, free: 1.082 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.124e-05/0.6685, allocations: 8.375 kB / 1.169 GB, free: 1.074 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.936e-06/0.6685, allocations: 384 / 1.169 GB, free: 1.074 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001038/0.6686, allocations: 38.25 kB / 1.169 GB, free: 1.031 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.568e-06/0.6687, allocations: 3.938 kB / 1.169 GB, free: 1.027 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.885e-06/0.6687, allocations: 0 / 1.169 GB, free: 1.027 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.6687, allocations: 3.984 kB / 1.169 GB, free: 1.023 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.458e-05/0.6687, allocations: 15.94 kB / 1.169 GB, free: 1.008 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002924/0.669, allocations: 245 kB / 1.169 GB, free: 0.7188 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 9.009e-05/0.6691, allocations: 38.5 kB / 1.169 GB, free: 0.6719 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.332e-05/0.6692, allocations: 16.86 kB / 1.169 GB, free: 0.6523 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 8.947e-06/0.6692, allocations: 0 / 1.169 GB, free: 0.6523 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001379/0.6693, allocations: 71.39 kB / 1.169 GB, free: 0.5703 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=5): time 1.333e-06/0.6693, allocations: 0 / 1.169 GB, free: 0.5703 MB / 0.8887 GB Notification: Performance of matching and sorting (n=5): time 0.0001976/0.6695, allocations: 73.64 kB / 1.169 GB, free: 0.4922 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.017e-05/0.6696, allocations: 55.39 kB / 1.169 GB, free: 436 kB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.744e-05/0.6697, allocations: 105.8 kB / 1.169 GB, free: 320 kB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.356e-05/0.6697, allocations: 29.64 kB / 1.169 GB, free: 284 kB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 3.216e-05/0.6697, allocations: 80.14 kB / 1.169 GB, free: 200 kB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 1.933e-05/0.6697, allocations: 23.89 kB / 1.169 GB, free: 176 kB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.484e-05/0.6698, allocations: 17.72 kB / 1.169 GB, free: 152 kB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001268/0.6699, allocations: 318.8 kB / 1.17 GB, free: 15.83 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.219e-05/0.6699, allocations: 7.984 kB / 1.17 GB, free: 15.82 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.84e-05/0.67, allocations: 35.38 kB / 1.17 GB, free: 15.77 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.939e-05/0.6701, allocations: 55.36 kB / 1.17 GB, free: 15.71 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.6701, allocations: 3.938 kB / 1.17 GB, free: 15.7 MB / 0.9044 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001202/0.6702, allocations: 69.61 kB / 1.17 GB, free: 15.63 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.169e-05/0.6702, allocations: 4 kB / 1.17 GB, free: 15.62 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.259e-06/0.6702, allocations: 4 kB / 1.17 GB, free: 15.62 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.135e-05/0.6702, allocations: 0 / 1.17 GB, free: 15.62 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.882e-05/0.6703, allocations: 12 kB / 1.17 GB, free: 15.61 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.919e-06/0.6703, allocations: 160 / 1.17 GB, free: 15.61 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.619e-05/0.6703, allocations: 8.062 kB / 1.17 GB, free: 15.6 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.325e-06/0.6704, allocations: 3.984 kB / 1.17 GB, free: 15.6 MB / 0.9044 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 7.22e-05/0.6704, allocations: 121.7 kB / 1.17 GB, free: 15.47 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.551e-05/0.6705, allocations: 11.94 kB / 1.17 GB, free: 15.46 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.278e-05/0.6705, allocations: 7.5 kB / 1.17 GB, free: 15.44 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.6705, allocations: 0 / 1.17 GB, free: 15.44 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.6705, allocations: 0 / 1.17 GB, free: 15.44 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.465e-06/0.6705, allocations: 0 / 1.17 GB, free: 15.44 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002443/0.6707, allocations: 298.6 kB / 1.17 GB, free: 15.09 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.6708, allocations: 4 kB / 1.17 GB, free: 15.09 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.97e-05/0.6708, allocations: 7.938 kB / 1.17 GB, free: 15.08 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.794e-06/0.6708, allocations: 0 / 1.17 GB, free: 15.08 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.644e-06/0.6708, allocations: 320 / 1.17 GB, free: 15.08 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/0.6708, allocations: 4 kB / 1.17 GB, free: 15.08 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.6708, allocations: 0 / 1.17 GB, free: 15.08 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001533/0.671, allocations: 163.5 kB / 1.171 GB, free: 14.9 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 3.443e-05/0.671, allocations: 89 kB / 1.171 GB, free: 14.8 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.221e-05/0.671, allocations: 4 kB / 1.171 GB, free: 14.79 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.354e-05/0.6711, allocations: 4 kB / 1.171 GB, free: 14.79 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.613e-05/0.6711, allocations: 288 / 1.171 GB, free: 14.79 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.646e-06/0.6711, allocations: 7.984 kB / 1.171 GB, free: 14.78 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 3.505e-05/0.6712, allocations: 83.27 kB / 1.171 GB, free: 14.7 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.21e-07/0.6712, allocations: 0 / 1.171 GB, free: 14.7 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.00029/0.6715, allocations: 39.81 kB / 1.171 GB, free: 14.66 MB / 0.9044 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.0006264/0.6721, allocations: 0.7659 MB / 1.171 GB, free: 13.88 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0001065/0.6722, allocations: 35.92 kB / 1.172 GB, free: 13.84 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.6722, allocations: 0 / 1.172 GB, free: 13.84 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 3.897e-05/0.6723, allocations: 12 kB / 1.172 GB, free: 13.83 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002118/0.6725, allocations: 4.125 kB / 1.172 GB, free: 13.83 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001034/0.6736, allocations: 1.279 MB / 1.173 GB, free: 12.45 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002377/0.6738, allocations: 0.6806 MB / 1.173 GB, free: 11.75 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 2.109e-05/0.6738, allocations: 7.984 kB / 1.173 GB, free: 11.74 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.781e-05/0.6739, allocations: 15.44 kB / 1.173 GB, free: 11.73 MB / 0.9044 GB Notification: Performance of SimCode: time 2.3e-07/0.6739, allocations: 0 / 1.173 GB, free: 11.73 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01694/0.6908, allocations: 1.998 MB / 1.175 GB, free: 9.82 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.46/8.151, allocations: 11.95 kB / 1.175 GB, free: 9.809 MB / 0.9044 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