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.001591/0.001591, allocations: 108 kB / 15.61 MB, free: 152 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.001842/0.001842, allocations: 195.5 kB / 16.53 MB, free: 6.699 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.302/1.302, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.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.276/2.276, allocations: 390.3 MB / 0.6647 GB, free: 468 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001331/0.001331, allocations: 67.89 kB / 0.8126 GB, free: 14.4 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5231/0.5245, allocations: 140.4 MB / 0.9497 GB, free: 9.219 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Linear1D): time 0.001812/0.5263, allocations: 1.215 MB / 0.9509 GB, free: 8.25 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0006201/0.5269, allocations: 417.1 kB / 0.9513 GB, free: 7.941 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.047e-05/0.527, allocations: 0 / 0.9513 GB, free: 7.941 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.233e-05/0.527, allocations: 3.938 kB / 0.9513 GB, free: 7.938 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 3.299e-05/0.527, allocations: 0 / 0.9513 GB, free: 7.938 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004082/0.5274, allocations: 101.5 kB / 0.9514 GB, free: 7.871 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 4.547e-05/0.5275, allocations: 20.48 kB / 0.9514 GB, free: 7.859 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.46e-05/0.5275, allocations: 2.5 kB / 0.9514 GB, free: 7.859 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 1.75e-05/0.5276, allocations: 8 kB / 0.9514 GB, free: 7.855 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 2.376e-05/0.5276, allocations: 14.27 kB / 0.9514 GB, free: 7.844 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.201e-05/0.5276, allocations: 1.219 kB / 0.9514 GB, free: 7.844 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001618/0.5278, allocations: 102.5 kB / 0.9515 GB, free: 7.789 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.411e-05/0.5278, allocations: 9.359 kB / 0.9515 GB, free: 7.781 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.421e-05/0.5278, allocations: 6.5 kB / 0.9516 GB, free: 7.777 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001567/0.528, allocations: 94.38 kB / 0.9516 GB, free: 7.723 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.528, allocations: 0 / 0.9516 GB, free: 7.723 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.122e-06/0.528, allocations: 0 / 0.9516 GB, free: 7.723 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.027e-06/0.528, allocations: 1.438 kB / 0.9516 GB, free: 7.723 MB / 0.7169 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.0003289/0.5283, allocations: 386.9 kB / 0.952 GB, free: 7.305 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.118e-05/0.5284, allocations: 9.219 kB / 0.952 GB, free: 7.305 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.622e-05/0.5284, allocations: 35.83 kB / 0.9521 GB, free: 7.262 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.619e-05/0.5285, allocations: 7.344 kB / 0.9521 GB, free: 7.258 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.4e-05/0.5285, allocations: 161.6 kB / 0.9522 GB, free: 7.062 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.559e-05/0.5285, allocations: 1.906 kB / 0.9522 GB, free: 7.062 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.165e-05/0.5286, allocations: 6.562 kB / 0.9522 GB, free: 7.059 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.394e-05/0.5286, allocations: 45.2 kB / 0.9523 GB, free: 7.016 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.322e-06/0.5287, allocations: 7.875 kB / 0.9523 GB, free: 7.008 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.195e-06/0.5287, allocations: 0 / 0.9523 GB, free: 7.008 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.5287, allocations: 9.406 kB / 0.9523 GB, free: 7 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.982e-05/0.5287, allocations: 3.094 kB / 0.9523 GB, free: 7 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002165/0.5289, allocations: 248 kB / 0.9525 GB, free: 6.719 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 7.234e-05/0.529, allocations: 41.81 kB / 0.9526 GB, free: 6.68 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.163e-05/0.5291, allocations: 16.05 kB / 0.9526 GB, free: 6.668 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 9.037e-06/0.5291, allocations: 4.969 kB / 0.9526 GB, free: 6.664 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001029/0.5292, allocations: 61.2 kB / 0.9526 GB, free: 6.602 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=5): time 1.332e-06/0.5292, allocations: 0 / 0.9526 GB, free: 6.602 MB / 0.7169 GB Notification: Performance of matching and sorting (n=5): time 0.00017/0.5294, allocations: 77.27 kB / 0.9527 GB, free: 6.547 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.888e-05/0.5294, allocations: 52.75 kB / 0.9528 GB, free: 6.484 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.051e-05/0.5294, allocations: 103.6 kB / 0.9529 GB, free: 6.379 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.193e-06/0.5294, allocations: 26.86 kB / 0.9529 GB, free: 6.348 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.284e-05/0.5295, allocations: 88.12 kB / 0.953 GB, free: 6.258 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.183e-05/0.5295, allocations: 10.41 kB / 0.953 GB, free: 6.25 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.978e-05/0.5295, allocations: 24.12 kB / 0.953 GB, free: 6.227 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.136e-05/0.5296, allocations: 316 kB / 0.9533 GB, free: 5.91 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.937e-05/0.5296, allocations: 9.094 kB / 0.9533 GB, free: 5.906 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.665e-05/0.5296, allocations: 35.89 kB / 0.9534 GB, free: 5.867 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.843e-05/0.5297, allocations: 53.36 kB / 0.9534 GB, free: 5.816 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.5297, allocations: 4.969 kB / 0.9534 GB, free: 5.812 MB / 0.7169 GB Notification: Performance of matching and sorting (n=8) (initialization): time 9.004e-05/0.5298, allocations: 74.92 kB / 0.9535 GB, free: 5.758 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.143e-05/0.5298, allocations: 5.469 kB / 0.9535 GB, free: 5.758 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.5298, allocations: 1.094 kB / 0.9535 GB, free: 5.758 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.046e-05/0.5298, allocations: 0.8438 kB / 0.9535 GB, free: 5.758 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.232e-05/0.5299, allocations: 11.91 kB / 0.9535 GB, free: 5.754 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/0.5299, allocations: 9.328 kB / 0.9535 GB, free: 5.746 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.374e-05/0.5299, allocations: 2.562 kB / 0.9535 GB, free: 5.746 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.744e-06/0.5299, allocations: 6.812 kB / 0.9535 GB, free: 5.742 MB / 0.7169 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 4.327e-05/0.53, allocations: 116.2 kB / 0.9536 GB, free: 5.621 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.096e-05/0.53, allocations: 1.219 kB / 0.9536 GB, free: 5.621 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.791e-05/0.53, allocations: 8.781 kB / 0.9536 GB, free: 5.613 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.53, allocations: 1.062 kB / 0.9536 GB, free: 5.613 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.905e-06/0.53, allocations: 0 / 0.9536 GB, free: 5.613 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.065e-06/0.53, allocations: 0 / 0.9536 GB, free: 5.613 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001618/0.5302, allocations: 317.4 kB / 0.9539 GB, free: 5.273 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.5302, allocations: 0 / 0.9539 GB, free: 5.273 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.591e-05/0.5302, allocations: 4.406 kB / 0.9539 GB, free: 5.273 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.5302, allocations: 0 / 0.9539 GB, free: 5.273 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.733e-06/0.5302, allocations: 5.562 kB / 0.9539 GB, free: 5.27 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.5302, allocations: 320 / 0.9539 GB, free: 5.27 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.163e-06/0.5302, allocations: 0 / 0.9539 GB, free: 5.27 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001025/0.5304, allocations: 178.8 kB / 0.9541 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.298e-05/0.5304, allocations: 78.42 kB / 0.9542 GB, free: 5.008 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.202e-05/0.5304, allocations: 1.094 kB / 0.9542 GB, free: 5.008 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.166e-05/0.5304, allocations: 1.469 kB / 0.9542 GB, free: 5.008 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.916e-05/0.5305, allocations: 5.203 kB / 0.9542 GB, free: 5.004 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.47e-06/0.5305, allocations: 1.531 kB / 0.9542 GB, free: 5.004 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.866e-05/0.5305, allocations: 82.69 kB / 0.9543 GB, free: 4.926 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5305, allocations: 0 / 0.9543 GB, free: 4.926 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002716/0.5308, allocations: 38.83 kB / 0.9543 GB, free: 4.91 MB / 0.7169 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.0004418/0.5312, allocations: 0.7575 MB / 0.9551 GB, free: 4.211 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 9.759e-05/0.5313, allocations: 36.14 kB / 0.9551 GB, free: 4.195 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.393e-06/0.5314, allocations: 5.594 kB / 0.9551 GB, free: 4.191 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 3.592e-05/0.5314, allocations: 16.88 kB / 0.9551 GB, free: 4.184 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001984/0.5316, allocations: 5.516 kB / 0.9551 GB, free: 4.18 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006933/0.5323, allocations: 1.271 MB / 0.9564 GB, free: 2.906 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.813e-05/0.5324, allocations: 0.6826 MB / 0.957 GB, free: 2.203 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 1.758e-05/0.5324, allocations: 6.266 kB / 0.957 GB, free: 2.199 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.11e-05/0.5324, allocations: 9.625 kB / 0.957 GB, free: 2.191 MB / 0.7169 GB Notification: Performance of SimCode: time 2.7e-07/0.5324, allocations: 0 / 0.957 GB, free: 2.191 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01583/0.5483, allocations: 1.955 MB / 0.959 GB, free: 1.098 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.287/7.835, allocations: 6.484 kB / 0.959 GB, free: 1.098 MB / 0.7169 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