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.006814/0.006814, allocations: 98.67 kB / 15.73 MB, free: 6.039 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.001475/0.001475, allocations: 202.7 kB / 16.68 MB, free: 5.965 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.412/1.412, allocations: 222.9 MB / 240.4 MB, free: 4.328 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.529/2.529, allocations: 390.3 MB / 0.6648 GB, free: 256 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001172/0.001172, allocations: 61.84 kB / 0.9504 GB, free: 5.887 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2708/0.272, allocations: 140.4 MB / 1.087 GB, free: 2.035 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Linear1D): time 0.001789/0.2738, allocations: 1.226 MB / 1.089 GB, free: 0.8008 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0006887/0.2745, allocations: 411 kB / 1.089 GB, free: 408 kB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.113e-05/0.2746, allocations: 4 kB / 1.089 GB, free: 404 kB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 1.533e-05/0.2746, allocations: 0 / 1.089 GB, free: 404 kB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 3.283e-05/0.2746, allocations: 3.938 kB / 1.089 GB, free: 400 kB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004284/0.2751, allocations: 103.6 kB / 1.089 GB, free: 296 kB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 5.383e-05/0.2751, allocations: 15.98 kB / 1.089 GB, free: 280 kB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 3.651e-05/0.2752, allocations: 7.984 kB / 1.089 GB, free: 272 kB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 2.488e-05/0.2752, allocations: 19.88 kB / 1.089 GB, free: 252 kB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 2.38e-05/0.2752, allocations: 11.91 kB / 1.089 GB, free: 240 kB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.102e-05/0.2752, allocations: 4 kB / 1.089 GB, free: 236 kB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000168/0.2754, allocations: 91.91 kB / 1.089 GB, free: 144 kB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 1.472e-05/0.2754, allocations: 11.94 kB / 1.089 GB, free: 132 kB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 2.438e-05/0.2755, allocations: 7.922 kB / 1.089 GB, free: 124 kB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.000151/0.2756, allocations: 91.88 kB / 1.089 GB, free: 32 kB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.2756, allocations: 3.938 kB / 1.089 GB, free: 28 kB / 0.8419 GB Notification: Performance of FrontEnd: time 1.262e-06/0.2756, allocations: 0 / 1.089 GB, free: 28 kB / 0.8419 GB Notification: Performance of Transformations before backend: time 3.667e-06/0.2756, allocations: 0 / 1.089 GB, free: 28 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.0004005/0.276, allocations: 384 kB / 1.09 GB, free: 15.6 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.439e-05/0.2761, allocations: 12.03 kB / 1.09 GB, free: 15.59 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.931e-05/0.2761, allocations: 34.66 kB / 1.09 GB, free: 15.54 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.277e-05/0.2762, allocations: 0.9375 kB / 1.09 GB, free: 15.54 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.742e-05/0.2763, allocations: 168.4 kB / 1.09 GB, free: 15.34 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.393e-05/0.2763, allocations: 384 / 1.09 GB, free: 15.34 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.162e-05/0.2763, allocations: 4.375 kB / 1.09 GB, free: 15.34 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.449e-05/0.2764, allocations: 39.67 kB / 1.09 GB, free: 15.29 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.045e-06/0.2764, allocations: 7.938 kB / 1.09 GB, free: 15.29 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.355e-06/0.2764, allocations: 4 kB / 1.09 GB, free: 15.28 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.807e-06/0.2764, allocations: 0 / 1.09 GB, free: 15.28 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.094e-05/0.2765, allocations: 11.92 kB / 1.09 GB, free: 15.27 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002574/0.2767, allocations: 241 kB / 1.09 GB, free: 14.98 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 7.625e-05/0.2768, allocations: 34.52 kB / 1.09 GB, free: 14.94 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.475e-05/0.2769, allocations: 24.94 kB / 1.09 GB, free: 14.91 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 6.793e-06/0.2769, allocations: 3.984 kB / 1.09 GB, free: 14.91 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001129/0.277, allocations: 63.33 kB / 1.09 GB, free: 14.84 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=5): time 1.172e-06/0.277, allocations: 0 / 1.09 GB, free: 14.84 MB / 0.8575 GB Notification: Performance of matching and sorting (n=5): time 0.0001796/0.2772, allocations: 73.59 kB / 1.09 GB, free: 14.76 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.895e-05/0.2772, allocations: 51.41 kB / 1.09 GB, free: 14.7 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.825e-05/0.2773, allocations: 102.4 kB / 1.091 GB, free: 14.59 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.164e-05/0.2773, allocations: 33.7 kB / 1.091 GB, free: 14.55 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 2.697e-05/0.2773, allocations: 80.14 kB / 1.091 GB, free: 14.46 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.604e-05/0.2774, allocations: 20.02 kB / 1.091 GB, free: 14.45 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.325e-05/0.2774, allocations: 25.7 kB / 1.091 GB, free: 14.41 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 8.033e-05/0.2775, allocations: 310.8 kB / 1.091 GB, free: 14.1 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.041e-05/0.2775, allocations: 11.98 kB / 1.091 GB, free: 14.09 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.492e-05/0.2775, allocations: 39.38 kB / 1.091 GB, free: 14.04 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.273e-05/0.2776, allocations: 51.36 kB / 1.091 GB, free: 13.98 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.2776, allocations: 3.938 kB / 1.091 GB, free: 13.97 MB / 0.8575 GB Notification: Performance of matching and sorting (n=8) (initialization): time 9.237e-05/0.2777, allocations: 73.56 kB / 1.091 GB, free: 13.89 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.035e-05/0.2777, allocations: 4 kB / 1.091 GB, free: 13.89 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.197e-06/0.2777, allocations: 3.938 kB / 1.091 GB, free: 13.89 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.04e-05/0.2777, allocations: 4.062 kB / 1.091 GB, free: 13.88 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.15e-05/0.2778, allocations: 16.23 kB / 1.091 GB, free: 13.87 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.739e-06/0.2778, allocations: 0 / 1.091 GB, free: 13.87 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.21e-05/0.2778, allocations: 4 kB / 1.091 GB, free: 13.86 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.956e-06/0.2779, allocations: 8 kB / 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 6.021e-05/0.2779, allocations: 117.7 kB / 1.091 GB, free: 13.73 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.064e-05/0.2779, allocations: 3.906 kB / 1.091 GB, free: 13.73 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.863e-05/0.278, allocations: 7.562 kB / 1.091 GB, free: 13.72 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.415e-06/0.278, allocations: 4 kB / 1.091 GB, free: 13.71 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.278, allocations: 7.984 kB / 1.091 GB, free: 13.71 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.415e-06/0.278, allocations: 0 / 1.091 GB, free: 13.71 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002072/0.2782, allocations: 290.6 kB / 1.092 GB, free: 13.37 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.2782, allocations: 4 kB / 1.092 GB, free: 13.36 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.618e-05/0.2782, allocations: 7.922 kB / 1.092 GB, free: 13.36 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.2782, allocations: 0 / 1.092 GB, free: 13.36 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.422e-06/0.2782, allocations: 4 kB / 1.092 GB, free: 13.35 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.2782, allocations: 0 / 1.092 GB, free: 13.35 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.62e-07/0.2782, allocations: 0 / 1.092 GB, free: 13.35 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001262/0.2784, allocations: 163.5 kB / 1.092 GB, free: 13.18 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.846e-05/0.2784, allocations: 85 kB / 1.092 GB, free: 13.07 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.066e-05/0.2784, allocations: 288 / 1.092 GB, free: 13.07 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.624e-05/0.2785, allocations: 4 kB / 1.092 GB, free: 13.07 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.79e-05/0.2785, allocations: 0 / 1.092 GB, free: 13.07 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.819e-06/0.2785, allocations: 0 / 1.092 GB, free: 13.07 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.07e-05/0.2786, allocations: 91.25 kB / 1.092 GB, free: 12.98 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2786, allocations: 0 / 1.092 GB, free: 12.98 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.000256/0.2788, allocations: 35.94 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.0005706/0.2794, allocations: 0.7786 MB / 1.093 GB, free: 12.15 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001004/0.2795, allocations: 39.98 kB / 1.093 GB, free: 12.11 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/0.2795, allocations: 0 / 1.093 GB, free: 12.11 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 3.547e-05/0.2796, allocations: 15.98 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.0001895/0.2798, allocations: 4 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.0008543/0.2806, 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.0001861/0.2808, allocations: 0.6884 MB / 1.095 GB, free: 10.02 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 1.549e-05/0.2808, allocations: 256 / 1.095 GB, free: 10.02 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.543e-05/0.2809, allocations: 15.42 kB / 1.095 GB, free: 10 MB / 0.8575 GB Notification: Performance of SimCode: time 2.21e-07/0.2809, allocations: 0 / 1.095 GB, free: 10 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1526/0.4335, allocations: 2.006 MB / 1.097 GB, free: 8.086 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.921/8.354, allocations: 11.31 kB / 1.097 GB, free: 8.078 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