Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Occupants_BaseClasses_Validation_Linear1D",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.Linear1D,fileNamePrefix="Buildings_11_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.003801/0.003801, allocations: 98.97 kB / 15.73 MB, free: 6.012 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.001117/0.001117, allocations: 201.5 kB / 16.68 MB, free: 5.926 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.237/1.237, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.409/2.409, allocations: 469.8 MB / 0.7425 GB, free: 3.301 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001779/0.001779, allocations: 67.83 kB / 1.065 GB, free: 14.04 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6177/0.6195, allocations: 159.1 MB / 1.22 GB, free: 1.992 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Linear1D): time 0.002007/0.6216, allocations: 1.209 MB / 1.221 GB, free: 0.7734 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0007218/0.6223, allocations: 414.6 kB / 1.222 GB, free: 376 kB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.313e-05/0.6223, allocations: 0 / 1.222 GB, free: 376 kB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 1.304e-05/0.6224, allocations: 4 kB / 1.222 GB, free: 372 kB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 3.399e-05/0.6224, allocations: 3.938 kB / 1.222 GB, free: 368 kB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004194/0.6228, allocations: 107.6 kB / 1.222 GB, free: 260 kB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 7.13e-05/0.6229, allocations: 15.98 kB / 1.222 GB, free: 244 kB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 2.97e-05/0.6229, allocations: 0 / 1.222 GB, free: 244 kB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 2.538e-05/0.623, allocations: 19.91 kB / 1.222 GB, free: 224 kB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 2.287e-05/0.623, allocations: 4 kB / 1.222 GB, free: 220 kB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.038e-05/0.623, allocations: 0 / 1.222 GB, free: 220 kB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001872/0.6232, allocations: 103.8 kB / 1.222 GB, free: 116 kB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.621e-05/0.6232, allocations: 7.938 kB / 1.222 GB, free: 108 kB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 2.433e-05/0.6233, allocations: 11.98 kB / 1.222 GB, free: 96 kB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001576/0.6234, allocations: 87.47 kB / 1.222 GB, free: 12 kB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 2.745e-06/0.6234, allocations: 4 kB / 1.222 GB, free: 8 kB / 0.9356 GB Notification: Performance of FrontEnd: time 1.052e-06/0.6234, allocations: 0 / 1.222 GB, free: 8 kB / 0.9356 GB Notification: Performance of Transformations before backend: time 6.813e-06/0.6235, allocations: 0 / 1.222 GB, free: 8 kB / 0.9356 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.0004442/0.6239, allocations: 392.8 kB / 1.222 GB, free: 15.57 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.048e-05/0.6239, allocations: 8.031 kB / 1.222 GB, free: 15.56 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.684e-05/0.624, allocations: 38.64 kB / 1.222 GB, free: 15.51 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.275e-05/0.624, allocations: 8.938 kB / 1.222 GB, free: 15.5 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000107/0.6241, allocations: 168.4 kB / 1.223 GB, free: 15.3 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.745e-05/0.6242, allocations: 8.312 kB / 1.223 GB, free: 15.29 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.668e-06/0.6242, allocations: 384 / 1.223 GB, free: 15.29 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.774e-05/0.6243, allocations: 42.25 kB / 1.223 GB, free: 15.25 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.506e-06/0.6243, allocations: 3.938 kB / 1.223 GB, free: 15.24 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.362e-06/0.6243, allocations: 0 / 1.223 GB, free: 15.24 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.406e-06/0.6243, allocations: 0 / 1.223 GB, free: 15.24 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.084e-05/0.6243, allocations: 7.984 kB / 1.223 GB, free: 15.23 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002992/0.6246, allocations: 252.9 kB / 1.223 GB, free: 14.94 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 8.447e-05/0.6247, allocations: 34.52 kB / 1.223 GB, free: 14.89 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.496e-05/0.6248, allocations: 20.94 kB / 1.223 GB, free: 14.87 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 8.136e-06/0.6248, allocations: 0 / 1.223 GB, free: 14.87 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001141/0.6249, allocations: 51.41 kB / 1.223 GB, free: 14.81 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=5): time 1.142e-06/0.6249, allocations: 4 kB / 1.223 GB, free: 14.8 MB / 0.9512 GB Notification: Performance of matching and sorting (n=5): time 0.0001917/0.6251, allocations: 81.75 kB / 1.223 GB, free: 14.72 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.545e-05/0.6252, allocations: 51.41 kB / 1.223 GB, free: 14.66 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.528e-05/0.6252, allocations: 109.8 kB / 1.223 GB, free: 14.54 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.434e-05/0.6253, allocations: 25.7 kB / 1.223 GB, free: 14.51 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 3.652e-05/0.6253, allocations: 80.14 kB / 1.223 GB, free: 14.43 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 1.978e-05/0.6253, allocations: 19.89 kB / 1.223 GB, free: 14.41 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.539e-05/0.6254, allocations: 21.7 kB / 1.223 GB, free: 14.38 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.000124/0.6255, allocations: 318.8 kB / 1.224 GB, free: 14.06 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.068e-05/0.6255, allocations: 8.062 kB / 1.224 GB, free: 14.05 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.092e-05/0.6256, allocations: 39.42 kB / 1.224 GB, free: 14 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.301e-05/0.6256, allocations: 51.36 kB / 1.224 GB, free: 13.94 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.6257, allocations: 7.938 kB / 1.224 GB, free: 13.93 MB / 0.9512 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001014/0.6258, allocations: 73.73 kB / 1.224 GB, free: 13.85 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.27e-05/0.6258, allocations: 4 kB / 1.224 GB, free: 13.85 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.451e-06/0.6258, allocations: 4 kB / 1.224 GB, free: 13.84 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.166e-05/0.6258, allocations: 0 / 1.224 GB, free: 13.84 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.027e-05/0.6259, allocations: 15.92 kB / 1.224 GB, free: 13.83 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.108e-06/0.6259, allocations: 0 / 1.224 GB, free: 13.83 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.784e-05/0.6259, allocations: 11.95 kB / 1.224 GB, free: 13.82 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.252e-06/0.6259, allocations: 0 / 1.224 GB, free: 13.82 MB / 0.9512 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.717e-05/0.626, allocations: 121.8 kB / 1.224 GB, free: 13.69 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.103e-05/0.626, allocations: 4 kB / 1.224 GB, free: 13.68 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.917e-05/0.626, allocations: 7.562 kB / 1.224 GB, free: 13.68 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.232e-06/0.626, allocations: 0 / 1.224 GB, free: 13.68 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.585e-06/0.626, allocations: 0 / 1.224 GB, free: 13.68 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.177e-06/0.6261, allocations: 7.922 kB / 1.224 GB, free: 13.67 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000257/0.6263, allocations: 294.6 kB / 1.224 GB, free: 13.32 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.6263, allocations: 0 / 1.224 GB, free: 13.32 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.674e-05/0.6263, allocations: 4 kB / 1.224 GB, free: 13.32 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.6264, allocations: 7.984 kB / 1.224 GB, free: 13.31 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.002e-06/0.6264, allocations: 0 / 1.224 GB, free: 13.31 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.6264, allocations: 0 / 1.224 GB, free: 13.31 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/0.6264, allocations: 3.938 kB / 1.224 GB, free: 13.31 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001509/0.6265, allocations: 163.4 kB / 1.225 GB, free: 13.13 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 4.587e-05/0.6266, allocations: 89.03 kB / 1.225 GB, free: 13.03 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.083e-05/0.6266, allocations: 0 / 1.225 GB, free: 13.03 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.929e-05/0.6267, allocations: 4.125 kB / 1.225 GB, free: 13.02 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.883e-05/0.6267, allocations: 4 kB / 1.225 GB, free: 13.02 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.2e-06/0.6267, allocations: 4 kB / 1.225 GB, free: 13.02 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 4.11e-05/0.6267, allocations: 87.27 kB / 1.225 GB, free: 12.93 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.21e-07/0.6267, allocations: 0 / 1.225 GB, free: 12.93 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002665/0.627, allocations: 35.88 kB / 1.225 GB, free: 12.89 MB / 0.9512 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.0006741/0.6277, allocations: 0.7679 MB / 1.225 GB, free: 12.11 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0001012/0.6278, allocations: 39.86 kB / 1.226 GB, free: 12.07 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/0.6278, allocations: 0 / 1.226 GB, free: 12.07 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 3.688e-05/0.6279, allocations: 15.92 kB / 1.226 GB, free: 12.06 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001842/0.628, allocations: 4 kB / 1.226 GB, free: 12.05 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001018/0.6291, allocations: 1.273 MB / 1.227 GB, free: 10.68 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00027/0.6294, allocations: 0.6807 MB / 1.227 GB, free: 9.977 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 1.581e-05/0.6294, allocations: 3.906 kB / 1.227 GB, free: 9.973 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.453e-05/0.6294, allocations: 15.42 kB / 1.227 GB, free: 9.957 MB / 0.9512 GB Notification: Performance of SimCode: time 2.41e-07/0.6294, allocations: 0 / 1.227 GB, free: 9.957 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6618/1.291, allocations: 2.011 MB / 1.229 GB, free: 8.035 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.58/15.87, allocations: 19.03 kB / 1.229 GB, free: 8.023 MB / 0.9512 GB (rm -f Buildings_11_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe ; mkfifo Buildings_11_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe >> ../files/Buildings_11_Buildings.Occupants.BaseClasses.Validation.Linear1D.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Occupants.BaseClasses.Validation.Linear1D_res.mat --tempDir=temp_Buildings_11_Buildings_Occupants_BaseClasses_Validation_Linear1D_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Occupants_BaseClasses_Validation_Linear1D.fmu > Buildings_11_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Occupants.BaseClasses.Validation.Linear1D_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_BaseClasses_Validation_Linear1D.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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