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.007484/0.007489, allocations: 101.9 kB / 15.73 MB, free: 6.043 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.001235/0.001235, allocations: 191.2 kB / 16.67 MB, free: 5.973 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.641/1.641, allocations: 222.9 MB / 240.4 MB, free: 4.336 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.419/2.419, allocations: 390.2 MB / 0.6648 GB, free: 156 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001181/0.001181, allocations: 61.81 kB / 0.9504 GB, free: 5.992 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2827/0.2839, allocations: 140.4 MB / 1.087 GB, free: 2.039 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Linear1D): time 0.002263/0.2862, allocations: 1.226 MB / 1.089 GB, free: 0.8047 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0008002/0.287, allocations: 415 kB / 1.089 GB, free: 408 kB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.528e-05/0.2871, allocations: 4 kB / 1.089 GB, free: 404 kB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 1.555e-05/0.2871, allocations: 0 / 1.089 GB, free: 404 kB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 3.703e-05/0.2872, allocations: 3.938 kB / 1.089 GB, free: 400 kB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005584/0.2877, allocations: 103.6 kB / 1.089 GB, free: 296 kB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 5.696e-05/0.2878, allocations: 11.98 kB / 1.089 GB, free: 284 kB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 4.374e-05/0.2879, allocations: 8 kB / 1.089 GB, free: 276 kB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 2.037e-05/0.2879, allocations: 7.938 kB / 1.089 GB, free: 268 kB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 2.661e-05/0.2879, allocations: 7.984 kB / 1.089 GB, free: 260 kB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.294e-05/0.2879, allocations: 7.938 kB / 1.089 GB, free: 252 kB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002038/0.2882, allocations: 103.8 kB / 1.089 GB, free: 148 kB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 1.873e-05/0.2882, allocations: 7.984 kB / 1.089 GB, free: 140 kB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 3.062e-05/0.2882, allocations: 7.938 kB / 1.089 GB, free: 132 kB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0002038/0.2884, allocations: 95.81 kB / 1.089 GB, free: 36 kB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.2884, allocations: 0 / 1.089 GB, free: 36 kB / 0.8419 GB Notification: Performance of FrontEnd: time 9.92e-07/0.2884, allocations: 0 / 1.089 GB, free: 36 kB / 0.8419 GB Notification: Performance of Transformations before backend: time 7.654e-06/0.2885, 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.0004531/0.2889, allocations: 384 kB / 1.09 GB, free: 15.61 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.834e-05/0.289, allocations: 12.03 kB / 1.09 GB, free: 15.59 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.086e-05/0.289, allocations: 38.64 kB / 1.09 GB, free: 15.55 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.631e-05/0.289, allocations: 0.9375 kB / 1.09 GB, free: 15.55 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001137/0.2892, allocations: 168.4 kB / 1.09 GB, free: 15.34 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.055e-05/0.2892, allocations: 8.375 kB / 1.09 GB, free: 15.34 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.299e-05/0.2892, allocations: 4.375 kB / 1.09 GB, free: 15.33 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.75e-05/0.2893, allocations: 39.66 kB / 1.09 GB, free: 15.29 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.087e-06/0.2893, allocations: 3.938 kB / 1.09 GB, free: 15.29 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.046e-05/0.2894, allocations: 8 kB / 1.09 GB, free: 15.28 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.606e-06/0.2894, allocations: 0 / 1.09 GB, free: 15.28 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.605e-05/0.2894, allocations: 11.94 kB / 1.09 GB, free: 15.27 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002909/0.2897, allocations: 237 kB / 1.09 GB, free: 14.98 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 8.811e-05/0.2898, allocations: 38.5 kB / 1.09 GB, free: 14.94 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.436e-05/0.2898, allocations: 16.86 kB / 1.09 GB, free: 14.92 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 9.989e-06/0.2899, allocations: 4.094 kB / 1.09 GB, free: 14.91 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001476/0.29, allocations: 63.33 kB / 1.09 GB, free: 14.84 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=5): time 1.492e-06/0.29, allocations: 0 / 1.09 GB, free: 14.84 MB / 0.8575 GB Notification: Performance of matching and sorting (n=5): time 0.0001871/0.2902, allocations: 77.58 kB / 1.09 GB, free: 14.76 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.63e-05/0.2903, allocations: 51.41 kB / 1.09 GB, free: 14.7 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.585e-05/0.2903, allocations: 98.42 kB / 1.091 GB, free: 14.59 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.5e-05/0.2904, allocations: 29.7 kB / 1.091 GB, free: 14.55 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.099e-05/0.2904, allocations: 88.12 kB / 1.091 GB, free: 14.46 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.948e-05/0.2904, allocations: 16.03 kB / 1.091 GB, free: 14.45 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.594e-05/0.2905, allocations: 21.72 kB / 1.091 GB, free: 14.42 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001198/0.2906, allocations: 318.8 kB / 1.091 GB, free: 14.1 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.957e-05/0.2906, allocations: 4 kB / 1.091 GB, free: 14.1 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.819e-05/0.2907, allocations: 43.36 kB / 1.091 GB, free: 14.04 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.779e-05/0.2907, allocations: 47.38 kB / 1.091 GB, free: 13.98 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.2907, allocations: 3.938 kB / 1.091 GB, free: 13.98 MB / 0.8575 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001121/0.2909, allocations: 81.77 kB / 1.091 GB, free: 13.89 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.483e-05/0.2909, allocations: 4 kB / 1.091 GB, free: 13.89 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.048e-06/0.2909, allocations: 0 / 1.091 GB, free: 13.89 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.282e-05/0.2909, allocations: 4 kB / 1.091 GB, free: 13.89 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.518e-05/0.291, allocations: 8.062 kB / 1.091 GB, free: 13.88 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.398e-06/0.291, allocations: 4 kB / 1.091 GB, free: 13.88 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.469e-05/0.291, allocations: 4 kB / 1.091 GB, free: 13.87 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.007e-05/0.291, allocations: 4 kB / 1.091 GB, free: 13.87 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 8.44e-05/0.2911, allocations: 129.6 kB / 1.091 GB, free: 13.73 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.325e-05/0.2911, allocations: 3.906 kB / 1.091 GB, free: 13.73 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.904e-05/0.2912, allocations: 3.562 kB / 1.091 GB, free: 13.72 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.636e-06/0.2912, allocations: 4 kB / 1.091 GB, free: 13.72 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.2912, allocations: 0 / 1.091 GB, free: 13.72 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.004e-06/0.2912, allocations: 4 kB / 1.091 GB, free: 13.71 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002451/0.2914, allocations: 298.8 kB / 1.092 GB, free: 13.37 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.2914, allocations: 4.062 kB / 1.092 GB, free: 13.36 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.831e-05/0.2915, allocations: 4 kB / 1.092 GB, free: 13.36 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.288e-06/0.2915, allocations: 0 / 1.092 GB, free: 13.36 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.231e-06/0.2915, allocations: 7.938 kB / 1.092 GB, free: 13.35 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.2915, allocations: 0 / 1.092 GB, free: 13.35 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.2915, allocations: 0 / 1.092 GB, free: 13.35 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001497/0.2917, allocations: 167.5 kB / 1.092 GB, free: 13.17 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.328e-05/0.2917, allocations: 81.02 kB / 1.092 GB, free: 13.07 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.07e-05/0.2917, allocations: 0 / 1.092 GB, free: 13.07 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.749e-05/0.2918, allocations: 4 kB / 1.092 GB, free: 13.07 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.278e-05/0.2918, allocations: 7.984 kB / 1.092 GB, free: 13.06 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.38e-06/0.2918, allocations: 0 / 1.092 GB, free: 13.06 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.2e-05/0.2919, allocations: 79.28 kB / 1.092 GB, free: 12.98 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.11e-07/0.2919, allocations: 0 / 1.092 GB, free: 12.98 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.000276/0.2921, allocations: 39.92 kB / 1.092 GB, free: 12.95 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.0006473/0.2928, allocations: 0.7748 MB / 1.093 GB, free: 12.16 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001044/0.2929, allocations: 39.91 kB / 1.093 GB, free: 12.12 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.2929, allocations: 4.125 kB / 1.093 GB, free: 12.11 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 3.605e-05/0.293, allocations: 16.12 kB / 1.093 GB, free: 12.1 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001848/0.2932, allocations: 3.984 kB / 1.093 GB, free: 12.09 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001026/0.2942, allocations: 1.261 MB / 1.094 GB, free: 10.73 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002395/0.2944, allocations: 0.6807 MB / 1.095 GB, free: 10.03 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 1.683e-05/0.2945, allocations: 4.25 kB / 1.095 GB, free: 10.02 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.756e-05/0.2945, allocations: 19.38 kB / 1.095 GB, free: 10 MB / 0.8575 GB Notification: Performance of SimCode: time 1.9e-07/0.2945, allocations: 0 / 1.095 GB, free: 10 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.403/1.698, allocations: 1.995 MB / 1.097 GB, free: 8.098 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.665/9.363, allocations: 13.41 kB / 1.097 GB, free: 8.086 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Occupants.BaseClasses.Validation.Linear1D_res.mat --tempDir=temp_Buildings_9_Buildings_Occupants_BaseClasses_Validation_Linear1D_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 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.mat","/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:A,B,seed,time,x,y