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.001446/0.001446, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001623/0.001623, allocations: 192.2 kB / 16.25 MB, free: 6.633 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.265/1.265, allocations: 222.9 MB / 239.9 MB, free: 4.5 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.396/2.396, allocations: 437 MB / 0.7101 GB, free: 5.348 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001434/0.001434, allocations: 67.89 kB / 0.8689 GB, free: 4.996 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5801/0.5815, allocations: 151.6 MB / 1.017 GB, free: 2.715 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Linear1D): time 0.002149/0.5837, allocations: 1.292 MB / 1.018 GB, free: 1.414 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0007449/0.5845, allocations: 418.7 kB / 1.019 GB, free: 1.004 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.016e-05/0.5845, allocations: 0 / 1.019 GB, free: 1.004 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.009e-05/0.5845, allocations: 3.938 kB / 1.019 GB, free: 1 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 3.491e-05/0.5846, allocations: 0 / 1.019 GB, free: 1 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004624/0.5851, allocations: 83.8 kB / 1.019 GB, free: 0.918 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 4.921e-05/0.5851, allocations: 19.97 kB / 1.019 GB, free: 0.8984 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 3.484e-05/0.5852, allocations: 4 kB / 1.019 GB, free: 0.8945 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 1.994e-05/0.5852, allocations: 11.94 kB / 1.019 GB, free: 0.8828 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 2.357e-05/0.5852, allocations: 7.984 kB / 1.019 GB, free: 0.875 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.038e-05/0.5852, allocations: 4 kB / 1.019 GB, free: 0.8711 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000172/0.5854, allocations: 95.84 kB / 1.019 GB, free: 0.7773 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.666e-05/0.5854, allocations: 15.92 kB / 1.019 GB, free: 0.7617 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.566e-05/0.5855, allocations: 7.984 kB / 1.019 GB, free: 0.7539 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001558/0.5856, allocations: 87.83 kB / 1.019 GB, free: 0.668 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.5856, allocations: 4 kB / 1.019 GB, free: 0.6641 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.222e-06/0.5856, allocations: 0 / 1.019 GB, free: 0.6641 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.167e-06/0.5856, allocations: 0 / 1.019 GB, free: 0.6641 MB / 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.0004004/0.586, allocations: 384.7 kB / 1.019 GB, free: 240 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.282e-05/0.5861, allocations: 15.97 kB / 1.019 GB, free: 224 kB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.613e-05/0.5861, allocations: 38.67 kB / 1.019 GB, free: 176 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.664e-05/0.5862, allocations: 8.844 kB / 1.019 GB, free: 168 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.501e-05/0.5863, allocations: 160.4 kB / 1.019 GB, free: 15.97 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.709e-05/0.5863, allocations: 384 / 1.019 GB, free: 15.97 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.08e-05/0.5863, allocations: 8.375 kB / 1.019 GB, free: 15.96 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.072e-05/0.5864, allocations: 38.23 kB / 1.02 GB, free: 15.92 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.454e-06/0.5864, allocations: 7.938 kB / 1.02 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.393e-06/0.5864, allocations: 0 / 1.02 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.877e-06/0.5864, allocations: 4 kB / 1.02 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.32e-05/0.5865, allocations: 4 kB / 1.02 GB, free: 15.9 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002728/0.5868, allocations: 256.8 kB / 1.02 GB, free: 15.6 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 8.064e-05/0.5869, allocations: 34.5 kB / 1.02 GB, free: 15.56 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.441e-05/0.5869, allocations: 16.86 kB / 1.02 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 9.378e-06/0.5869, allocations: 4.094 kB / 1.02 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001287/0.587, allocations: 59.39 kB / 1.02 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=5): time 1.392e-06/0.5871, allocations: 3.938 kB / 1.02 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of matching and sorting (n=5): time 0.0001941/0.5873, allocations: 77.58 kB / 1.02 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.436e-05/0.5873, allocations: 51.41 kB / 1.02 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.802e-05/0.5874, allocations: 101.9 kB / 1.02 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.471e-05/0.5874, allocations: 25.7 kB / 1.02 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 2.851e-05/0.5874, allocations: 88.12 kB / 1.02 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.825e-05/0.5874, allocations: 11.91 kB / 1.02 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.446e-05/0.5875, allocations: 17.72 kB / 1.02 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 7.968e-05/0.5876, allocations: 314.8 kB / 1.021 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.201e-05/0.5876, allocations: 12 kB / 1.021 GB, free: 14.72 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.671e-05/0.5876, allocations: 39.36 kB / 1.021 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.723e-05/0.5877, allocations: 47.61 kB / 1.021 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.5877, allocations: 3.938 kB / 1.021 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of matching and sorting (n=8) (initialization): time 9.857e-05/0.5878, allocations: 81.45 kB / 1.021 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.218e-05/0.5878, allocations: 4 kB / 1.021 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.5878, allocations: 0 / 1.021 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.204e-05/0.5879, allocations: 4 kB / 1.021 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.614e-05/0.5879, allocations: 8 kB / 1.021 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.413e-05/0.5879, allocations: 8 kB / 1.021 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.674e-05/0.588, allocations: 4 kB / 1.021 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.033e-06/0.588, allocations: 4.25 kB / 1.021 GB, free: 14.49 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.891e-05/0.5881, allocations: 122.2 kB / 1.021 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.002e-05/0.5881, allocations: 0 / 1.021 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.021e-05/0.5881, allocations: 11.5 kB / 1.021 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.417e-06/0.5881, allocations: 8 kB / 1.021 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.5881, allocations: 0 / 1.021 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.415e-06/0.5881, allocations: 0 / 1.021 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002246/0.5883, allocations: 310.4 kB / 1.021 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.5884, allocations: 0 / 1.021 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.562e-05/0.5884, allocations: 0 / 1.021 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.5884, allocations: 4 kB / 1.021 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.374e-06/0.5884, allocations: 0 / 1.021 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.915e-06/0.5884, allocations: 3.938 kB / 1.021 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.5884, allocations: 0 / 1.021 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001271/0.5885, allocations: 167.5 kB / 1.021 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.006e-05/0.5886, allocations: 77.11 kB / 1.021 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.347e-05/0.5886, allocations: 4 kB / 1.021 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.996e-05/0.5887, allocations: 0 / 1.021 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.973e-05/0.5887, allocations: 3.984 kB / 1.021 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.903e-06/0.5887, allocations: 4 kB / 1.021 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 2.953e-05/0.5887, allocations: 79.28 kB / 1.022 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1e-07/0.5887, allocations: 0 / 1.022 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002713/0.589, allocations: 43.92 kB / 1.022 GB, free: 13.57 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.0005808/0.5896, allocations: 0.7743 MB / 1.022 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001022/0.5897, allocations: 35.92 kB / 1.022 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.5897, allocations: 8.062 kB / 1.022 GB, free: 12.74 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 3.66e-05/0.5898, allocations: 19.98 kB / 1.022 GB, free: 12.72 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001931/0.59, allocations: 3.984 kB / 1.022 GB, free: 12.72 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000925/0.5909, allocations: 1.277 MB / 1.024 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002144/0.5911, allocations: 0.6729 MB / 1.024 GB, free: 10.64 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.3e-05/0.5911, allocations: 7.984 kB / 1.024 GB, free: 10.64 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.277e-05/0.5912, allocations: 7.438 kB / 1.024 GB, free: 10.63 MB / 0.7794 GB Notification: Performance of SimCode: time 2.11e-07/0.5912, allocations: 0 / 1.024 GB, free: 10.63 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5124/1.104, allocations: 1.89 MB / 1.026 GB, free: 8.855 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003469/1.104, allocations: 244.7 kB / 1.026 GB, free: 8.602 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.04/3.144, allocations: 0 / 1.026 GB, free: 8.602 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Occupants.BaseClasses.Validation.Linear1D_res.mat --tempDir=temp_Buildings_10_Buildings_Occupants_BaseClasses_Validation_Linear1D_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 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.mat","/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:A,B,seed,time,x,y