Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_Occupants_BaseClasses_Validation_Linear1D",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.Linear1D,fileNamePrefix="Buildings_9_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.005495/0.005495, allocations: 101.7 kB / 15.73 MB, free: 5.586 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.001348/0.001348, allocations: 191.5 kB / 16.67 MB, free: 5.523 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.327/1.327, 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 9.1.3-maint.9.1.x/package.mo): time 2.247/2.247, allocations: 390.3 MB / 0.6648 GB, free: 0.6484 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001364/0.001364, allocations: 63.91 kB / 0.9504 GB, free: 8.207 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8382/0.8396, allocations: 140.4 MB / 1.087 GB, free: 5.277 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Linear1D): time 0.002344/0.842, allocations: 1.215 MB / 1.089 GB, free: 4.422 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0007779/0.8428, allocations: 411.7 kB / 1.089 GB, free: 4.168 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.967e-05/0.8428, allocations: 0 / 1.089 GB, free: 4.168 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 1.722e-05/0.8428, allocations: 0.6094 kB / 1.089 GB, free: 4.168 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 3.538e-05/0.8429, allocations: 5.031 kB / 1.089 GB, free: 4.164 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004793/0.8434, allocations: 106.4 kB / 1.089 GB, free: 4.113 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 7.553e-05/0.8435, allocations: 27.39 kB / 1.089 GB, free: 4.098 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.692e-05/0.8435, allocations: 2.719 kB / 1.089 GB, free: 4.098 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 2.68e-05/0.8435, allocations: 13.09 kB / 1.089 GB, free: 4.09 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 3.119e-05/0.8436, allocations: 9.078 kB / 1.089 GB, free: 4.086 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.415e-05/0.8436, allocations: 1.25 kB / 1.089 GB, free: 4.086 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002275/0.8438, allocations: 95.81 kB / 1.089 GB, free: 4.059 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.209e-05/0.8439, allocations: 7.219 kB / 1.089 GB, free: 4.055 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.275e-05/0.8439, allocations: 8.203 kB / 1.089 GB, free: 4.051 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002224/0.8441, allocations: 98.98 kB / 1.089 GB, free: 4.016 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.8441, allocations: 0 / 1.089 GB, free: 4.016 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.374e-06/0.8441, allocations: 1.797 kB / 1.089 GB, free: 4.016 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.47e-06/0.8442, allocations: 0 / 1.089 GB, free: 4.016 MB / 0.8575 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.0004535/0.8446, allocations: 383.8 kB / 1.09 GB, free: 3.609 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.548e-05/0.8447, allocations: 10.78 kB / 1.09 GB, free: 3.609 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.529e-05/0.8447, allocations: 36.06 kB / 1.09 GB, free: 3.566 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.133e-05/0.8448, allocations: 8.234 kB / 1.09 GB, free: 3.562 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.828e-05/0.8448, allocations: 163.1 kB / 1.09 GB, free: 3.367 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.352e-05/0.8449, allocations: 5.531 kB / 1.09 GB, free: 3.363 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.516e-05/0.8449, allocations: 3.281 kB / 1.09 GB, free: 3.363 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001262/0.845, allocations: 45.09 kB / 1.09 GB, free: 3.324 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.032e-05/0.845, allocations: 4.906 kB / 1.09 GB, free: 3.32 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.01e-05/0.8451, allocations: 0.5156 kB / 1.09 GB, free: 3.32 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.995e-06/0.8451, allocations: 0.9375 kB / 1.09 GB, free: 3.32 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.625e-05/0.8451, allocations: 9.156 kB / 1.09 GB, free: 3.316 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002857/0.8454, allocations: 256.7 kB / 1.09 GB, free: 3.035 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 9.564e-05/0.8455, allocations: 36.69 kB / 1.09 GB, free: 3.004 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.818e-05/0.8456, allocations: 18.66 kB / 1.09 GB, free: 2.992 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.045e-05/0.8456, allocations: 0 / 1.09 GB, free: 2.992 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001437/0.8457, allocations: 59.05 kB / 1.09 GB, free: 2.938 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=5): time 1.773e-06/0.8457, allocations: 0 / 1.09 GB, free: 2.938 MB / 0.8575 GB Notification: Performance of matching and sorting (n=5): time 0.0002534/0.846, allocations: 84.03 kB / 1.09 GB, free: 2.883 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.434e-05/0.846, allocations: 53.58 kB / 1.091 GB, free: 2.82 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.028e-05/0.8461, allocations: 101.9 kB / 1.091 GB, free: 2.719 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.174e-05/0.8461, allocations: 27.55 kB / 1.091 GB, free: 2.688 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 2.535e-05/0.8462, allocations: 80.8 kB / 1.091 GB, free: 2.605 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.958e-05/0.8462, allocations: 20.36 kB / 1.091 GB, free: 2.59 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.322e-05/0.8462, allocations: 19.8 kB / 1.091 GB, free: 2.57 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.619e-05/0.8463, allocations: 317.2 kB / 1.091 GB, free: 2.254 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.63e-05/0.8463, allocations: 14.72 kB / 1.091 GB, free: 2.246 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.452e-05/0.8463, allocations: 34.33 kB / 1.091 GB, free: 2.211 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.911e-05/0.8464, allocations: 48.03 kB / 1.091 GB, free: 2.168 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.945e-06/0.8464, allocations: 4.844 kB / 1.091 GB, free: 2.164 MB / 0.8575 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001029/0.8465, allocations: 72.89 kB / 1.091 GB, free: 2.117 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.518e-05/0.8466, allocations: 5.922 kB / 1.091 GB, free: 2.117 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.972e-06/0.8466, allocations: 1.344 kB / 1.091 GB, free: 2.117 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.533e-05/0.8466, allocations: 2.219 kB / 1.091 GB, free: 2.117 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.72e-05/0.8466, allocations: 8.531 kB / 1.091 GB, free: 2.117 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.013e-06/0.8467, allocations: 1.578 kB / 1.091 GB, free: 2.117 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.447e-05/0.8467, allocations: 6.156 kB / 1.091 GB, free: 2.113 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.989e-06/0.8467, allocations: 6.766 kB / 1.091 GB, free: 2.109 MB / 0.8575 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 5.087e-05/0.8468, allocations: 121.3 kB / 1.091 GB, free: 1.984 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.184e-05/0.8468, allocations: 6.453 kB / 1.091 GB, free: 1.98 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.354e-05/0.8468, allocations: 9.328 kB / 1.091 GB, free: 1.973 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.8468, allocations: 5.062 kB / 1.091 GB, free: 1.969 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.469e-06/0.8468, allocations: 0.7969 kB / 1.091 GB, free: 1.969 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.444e-06/0.8468, allocations: 0 / 1.091 GB, free: 1.969 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001869/0.847, allocations: 300.7 kB / 1.092 GB, free: 1.656 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.847, allocations: 4.453 kB / 1.092 GB, free: 1.652 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.684e-05/0.847, allocations: 3.469 kB / 1.092 GB, free: 1.652 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.8471, allocations: 1.062 kB / 1.092 GB, free: 1.652 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.596e-06/0.8471, allocations: 6.016 kB / 1.092 GB, free: 1.648 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.385e-06/0.8471, allocations: 4.703 kB / 1.092 GB, free: 1.645 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.8471, allocations: 0 / 1.092 GB, free: 1.645 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001123/0.8472, allocations: 162.2 kB / 1.092 GB, free: 1.5 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.718e-05/0.8472, allocations: 82.67 kB / 1.092 GB, free: 1.402 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.437e-05/0.8472, allocations: 1.531 kB / 1.092 GB, free: 1.402 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.192e-05/0.8473, allocations: 5.812 kB / 1.092 GB, free: 1.398 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.244e-05/0.8473, allocations: 1.656 kB / 1.092 GB, free: 1.398 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.993e-06/0.8473, allocations: 6.75 kB / 1.092 GB, free: 1.395 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 2.246e-05/0.8474, allocations: 83.45 kB / 1.092 GB, free: 1.316 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.01e-07/0.8474, allocations: 0 / 1.092 GB, free: 1.316 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003083/0.8477, allocations: 38.42 kB / 1.092 GB, free: 1.305 MB / 0.8575 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.0006329/0.8483, allocations: 0.755 MB / 1.093 GB, free: 16.62 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0001132/0.8484, allocations: 39.84 kB / 1.093 GB, free: 16.6 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.8485, allocations: 0 / 1.093 GB, free: 16.6 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 3.81e-05/0.8485, allocations: 11.31 kB / 1.093 GB, free: 16.6 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000198/0.8487, allocations: 9.156 kB / 1.093 GB, free: 16.6 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009796/0.8497, allocations: 1.279 MB / 1.094 GB, free: 15.34 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002427/0.8499, allocations: 0.6823 MB / 1.095 GB, free: 14.64 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 2.162e-05/0.85, allocations: 3.609 kB / 1.095 GB, free: 14.64 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.604e-05/0.85, allocations: 10.2 kB / 1.095 GB, free: 14.64 MB / 0.8731 GB Notification: Performance of SimCode: time 2.21e-07/0.85, allocations: 0 / 1.095 GB, free: 14.64 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01821/0.8682, allocations: 2.003 MB / 1.097 GB, free: 14.16 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.449/8.317, allocations: 6.875 kB / 1.097 GB, free: 14.16 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe ; mkfifo Buildings_9_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe >> ../files/Buildings_9_Buildings.Occupants.BaseClasses.Validation.Linear1D.sim & python3 -m fmpy simulate --output-file Buildings_9_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_9_Buildings_Occupants_BaseClasses_Validation_Linear1D.fmu > Buildings_9_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.BaseClasses.Validation.Linear1D_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_BaseClasses_Validation_Linear1D.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_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