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.004048/0.004048, allocations: 99.16 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.001054/0.001054, allocations: 196.3 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.331/1.331, allocations: 222.9 MB / 240.4 MB, free: 4.324 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.317/2.317, allocations: 390.2 MB / 0.6648 GB, free: 224 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001454/0.001454, allocations: 67.23 kB / 0.9504 GB, free: 5.906 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2407/0.2422, allocations: 140.4 MB / 1.087 GB, free: 2.047 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Linear1D): time 0.002486/0.2447, allocations: 1.223 MB / 1.089 GB, free: 0.8125 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0009899/0.2457, allocations: 422.9 kB / 1.089 GB, free: 408 kB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.724e-05/0.2458, allocations: 0 / 1.089 GB, free: 408 kB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 2.865e-05/0.2458, allocations: 0 / 1.089 GB, free: 408 kB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 4.782e-05/0.2459, allocations: 0 / 1.089 GB, free: 408 kB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006092/0.2465, allocations: 107.6 kB / 1.089 GB, free: 300 kB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 7.4e-05/0.2466, allocations: 15.98 kB / 1.089 GB, free: 284 kB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 4.435e-05/0.2467, allocations: 7.984 kB / 1.089 GB, free: 276 kB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 2.315e-05/0.2467, allocations: 7.938 kB / 1.089 GB, free: 268 kB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 2.69e-05/0.2467, allocations: 7.984 kB / 1.089 GB, free: 260 kB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.408e-05/0.2468, allocations: 0 / 1.089 GB, free: 260 kB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001989/0.247, allocations: 107.8 kB / 1.089 GB, free: 152 kB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 1.413e-05/0.247, allocations: 0 / 1.089 GB, free: 152 kB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 3.733e-05/0.247, allocations: 15.92 kB / 1.089 GB, free: 136 kB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.000188/0.2472, allocations: 92.03 kB / 1.089 GB, free: 44 kB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.2472, allocations: 4 kB / 1.089 GB, free: 40 kB / 0.8419 GB Notification: Performance of FrontEnd: time 1.613e-06/0.2472, allocations: 4 kB / 1.089 GB, free: 36 kB / 0.8419 GB Notification: Performance of Transformations before backend: time 5.591e-06/0.2473, allocations: 0 / 1.089 GB, free: 36 kB / 0.8419 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.0004699/0.2477, allocations: 382.9 kB / 1.09 GB, free: 15.6 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.393e-05/0.2478, allocations: 11.97 kB / 1.09 GB, free: 15.59 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.492e-05/0.2478, allocations: 30.75 kB / 1.09 GB, free: 15.55 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.846e-05/0.2479, allocations: 4.938 kB / 1.09 GB, free: 15.55 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001009/0.248, allocations: 172.2 kB / 1.09 GB, free: 15.34 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.045e-05/0.248, allocations: 8.375 kB / 1.09 GB, free: 15.33 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.362e-05/0.248, allocations: 384 / 1.09 GB, free: 15.33 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.607e-05/0.2481, allocations: 43.67 kB / 1.09 GB, free: 15.29 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.794e-06/0.2481, allocations: 3.938 kB / 1.09 GB, free: 15.28 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.965e-06/0.2482, allocations: 0 / 1.09 GB, free: 15.28 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.498e-06/0.2482, allocations: 0 / 1.09 GB, free: 15.28 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.423e-05/0.2482, allocations: 11.98 kB / 1.09 GB, free: 15.27 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002873/0.2485, allocations: 248.9 kB / 1.09 GB, free: 14.98 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 8.346e-05/0.2486, allocations: 42.55 kB / 1.09 GB, free: 14.93 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.551e-05/0.2486, allocations: 20.84 kB / 1.09 GB, free: 14.9 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 7.754e-06/0.2486, allocations: 0 / 1.09 GB, free: 14.9 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001469/0.2488, allocations: 55.39 kB / 1.09 GB, free: 14.84 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=5): time 1.243e-06/0.2488, allocations: 0 / 1.09 GB, free: 14.84 MB / 0.8575 GB Notification: Performance of matching and sorting (n=5): time 0.0001965/0.249, allocations: 77.62 kB / 1.09 GB, free: 14.75 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.37e-05/0.2491, allocations: 55.41 kB / 1.091 GB, free: 14.69 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.883e-05/0.2491, allocations: 105.8 kB / 1.091 GB, free: 14.57 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.35e-05/0.2491, allocations: 25.7 kB / 1.091 GB, free: 14.54 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.386e-05/0.2492, allocations: 80.14 kB / 1.091 GB, free: 14.46 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.779e-05/0.2492, allocations: 15.91 kB / 1.091 GB, free: 14.45 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.594e-05/0.2492, allocations: 21.7 kB / 1.091 GB, free: 14.42 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 9.778e-05/0.2494, allocations: 318.8 kB / 1.091 GB, free: 14.1 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.254e-05/0.2494, allocations: 7.984 kB / 1.091 GB, free: 14.09 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.668e-05/0.2494, allocations: 35.44 kB / 1.091 GB, free: 14.04 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.091e-05/0.2495, allocations: 55.53 kB / 1.091 GB, free: 13.98 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.378e-06/0.2495, allocations: 3.938 kB / 1.091 GB, free: 13.97 MB / 0.8575 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001052/0.2496, allocations: 77.45 kB / 1.091 GB, free: 13.89 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.218e-05/0.2496, allocations: 4 kB / 1.091 GB, free: 13.89 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/0.2496, allocations: 8.062 kB / 1.091 GB, free: 13.88 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.265e-05/0.2497, allocations: 3.984 kB / 1.091 GB, free: 13.88 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.978e-05/0.2497, allocations: 12 kB / 1.091 GB, free: 13.86 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.549e-06/0.2497, allocations: 0 / 1.091 GB, free: 13.86 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.58e-05/0.2498, allocations: 4 kB / 1.091 GB, free: 13.86 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.224e-06/0.2498, allocations: 0 / 1.091 GB, free: 13.86 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 7.135e-05/0.2498, allocations: 121.7 kB / 1.091 GB, free: 13.73 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.164e-05/0.2499, allocations: 7.938 kB / 1.091 GB, free: 13.72 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.214e-05/0.2499, allocations: 11.55 kB / 1.091 GB, free: 13.71 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.516e-06/0.2499, allocations: 0 / 1.091 GB, free: 13.71 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/0.2499, allocations: 3.938 kB / 1.091 GB, free: 13.71 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.444e-06/0.2499, allocations: 0 / 1.091 GB, free: 13.71 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00024/0.2502, allocations: 294.6 kB / 1.092 GB, free: 13.36 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.2502, allocations: 0 / 1.092 GB, free: 13.36 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.956e-05/0.2502, allocations: 7.984 kB / 1.092 GB, free: 13.36 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.2502, allocations: 0 / 1.092 GB, free: 13.36 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.324e-06/0.2502, allocations: 0 / 1.092 GB, free: 13.36 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.2502, allocations: 0 / 1.092 GB, free: 13.36 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.2502, allocations: 0 / 1.092 GB, free: 13.36 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001413/0.2504, allocations: 175.7 kB / 1.092 GB, free: 13.17 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.039e-05/0.2504, allocations: 81.11 kB / 1.092 GB, free: 13.07 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.444e-05/0.2504, allocations: 4.062 kB / 1.092 GB, free: 13.07 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.094e-05/0.2505, allocations: 0 / 1.092 GB, free: 13.07 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.054e-05/0.2505, allocations: 4 kB / 1.092 GB, free: 13.06 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.099e-06/0.2505, allocations: 4 kB / 1.092 GB, free: 13.06 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.617e-05/0.2506, allocations: 83.27 kB / 1.092 GB, free: 12.98 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.8e-07/0.2506, allocations: 4 kB / 1.092 GB, free: 12.97 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002788/0.2509, allocations: 35.88 kB / 1.092 GB, free: 12.94 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.0006537/0.2515, allocations: 0.7812 MB / 1.093 GB, free: 12.14 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001068/0.2516, allocations: 35.98 kB / 1.093 GB, free: 12.11 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.2516, allocations: 3.938 kB / 1.093 GB, free: 12.11 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 3.725e-05/0.2517, allocations: 12 kB / 1.093 GB, free: 12.09 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002033/0.2519, allocations: 0 / 1.093 GB, free: 12.09 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00103/0.2529, allocations: 1.265 MB / 1.094 GB, free: 10.73 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002347/0.2532, allocations: 0.6807 MB / 1.095 GB, free: 10.02 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 1.991e-05/0.2532, allocations: 4.234 kB / 1.095 GB, free: 10.02 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.975e-05/0.2532, allocations: 15.44 kB / 1.095 GB, free: 10 MB / 0.8575 GB Notification: Performance of SimCode: time 3.41e-07/0.2532, allocations: 0 / 1.095 GB, free: 10 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01785/0.2711, allocations: 1.995 MB / 1.097 GB, free: 8.094 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.49/7.761, allocations: 7.75 kB / 1.097 GB, free: 8.09 MB / 0.8575 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