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.001104/0.001104, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001128/0.001128, allocations: 193.1 kB / 16.53 MB, free: 6.391 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.359/1.359, allocations: 222.9 MB / 240.2 MB, free: 4.41 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.523/2.523, allocations: 437 MB / 0.7104 GB, free: 5.105 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001341/0.001341, allocations: 59.91 kB / 0.8693 GB, free: 4.598 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6697/0.6711, allocations: 151.6 MB / 1.017 GB, free: 2.512 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Linear1D): time 0.002387/0.6735, allocations: 1.209 MB / 1.019 GB, free: 1.293 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0008126/0.6743, allocations: 430.5 kB / 1.019 GB, free: 0.8711 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.45e-05/0.6744, allocations: 0 / 1.019 GB, free: 0.8711 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 1.717e-05/0.6744, allocations: 0 / 1.019 GB, free: 0.8711 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 3.912e-05/0.6745, allocations: 7.938 kB / 1.019 GB, free: 0.8633 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005223/0.675, allocations: 99.66 kB / 1.019 GB, free: 0.7656 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 5.195e-05/0.6751, allocations: 19.91 kB / 1.019 GB, free: 0.7461 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 4.096e-05/0.6751, allocations: 4 kB / 1.019 GB, free: 0.7422 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 2.44e-05/0.6751, allocations: 15.92 kB / 1.019 GB, free: 0.7266 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 2.571e-05/0.6752, allocations: 4 kB / 1.019 GB, free: 0.7227 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.17e-05/0.6752, allocations: 0 / 1.019 GB, free: 0.7227 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002022/0.6754, allocations: 103.9 kB / 1.019 GB, free: 0.6211 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.647e-05/0.6754, allocations: 3.938 kB / 1.019 GB, free: 0.6172 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.73e-05/0.6755, allocations: 4 kB / 1.019 GB, free: 0.6133 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001737/0.6756, allocations: 103.7 kB / 1.019 GB, free: 0.5117 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.6756, allocations: 0 / 1.019 GB, free: 0.5117 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.192e-06/0.6757, allocations: 0 / 1.019 GB, free: 0.5117 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.739e-06/0.6757, allocations: 0 / 1.019 GB, free: 0.5117 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.0004468/0.6761, allocations: 383.4 kB / 1.02 GB, free: 84 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.662e-05/0.6762, allocations: 12.03 kB / 1.02 GB, free: 72 kB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.247e-05/0.6762, allocations: 30.75 kB / 1.02 GB, free: 32 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.021e-05/0.6763, allocations: 8.844 kB / 1.02 GB, free: 24 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001038/0.6764, allocations: 160.4 kB / 1.02 GB, free: 15.83 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.178e-05/0.6764, allocations: 8.359 kB / 1.02 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.187e-05/0.6764, allocations: 8.375 kB / 1.02 GB, free: 15.81 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.583e-05/0.6765, allocations: 34.25 kB / 1.02 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.105e-06/0.6765, allocations: 7.938 kB / 1.02 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.755e-06/0.6766, allocations: 0 / 1.02 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.911e-06/0.6766, allocations: 0 / 1.02 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.124e-05/0.6766, allocations: 11.94 kB / 1.02 GB, free: 15.75 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002887/0.6769, allocations: 256.9 kB / 1.02 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 8.305e-05/0.677, allocations: 30.52 kB / 1.02 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.039e-05/0.677, allocations: 20.94 kB / 1.02 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 9.858e-06/0.6771, allocations: 0 / 1.02 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001472/0.6772, allocations: 59.34 kB / 1.02 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=5): time 4.148e-06/0.6772, allocations: 4 kB / 1.02 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of matching and sorting (n=5): time 0.0001957/0.6774, allocations: 81.56 kB / 1.02 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.411e-05/0.6775, allocations: 55.34 kB / 1.02 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.593e-05/0.6775, allocations: 101.8 kB / 1.021 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.22e-05/0.6776, allocations: 29.7 kB / 1.021 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 2.976e-05/0.6776, allocations: 80.14 kB / 1.021 GB, free: 14.94 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.409e-05/0.6776, allocations: 7.906 kB / 1.021 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.427e-05/0.6776, allocations: 29.7 kB / 1.021 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.454e-05/0.6777, allocations: 318.8 kB / 1.021 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.106e-05/0.6778, allocations: 11.94 kB / 1.021 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.477e-05/0.6778, allocations: 35.42 kB / 1.021 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.629e-05/0.6779, allocations: 47.61 kB / 1.021 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.065e-06/0.6779, allocations: 3.938 kB / 1.021 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of matching and sorting (n=8) (initialization): time 9.928e-05/0.678, allocations: 81.53 kB / 1.021 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.464e-05/0.678, allocations: 6.188 kB / 1.021 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.97e-06/0.678, allocations: 0 / 1.021 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.639e-05/0.678, allocations: 4 kB / 1.021 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.8e-05/0.6781, allocations: 11.98 kB / 1.021 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.765e-06/0.6781, allocations: 3.938 kB / 1.021 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.365e-05/0.6781, allocations: 7.938 kB / 1.021 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.526e-06/0.6782, allocations: 4 kB / 1.021 GB, free: 14.33 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.819e-05/0.6782, allocations: 117.8 kB / 1.021 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.176e-05/0.6782, allocations: 4 kB / 1.021 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.107e-05/0.6783, allocations: 3.562 kB / 1.021 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.927e-06/0.6783, allocations: 4 kB / 1.021 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.6783, allocations: 0 / 1.021 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/0.6783, allocations: 0 / 1.021 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002275/0.6785, allocations: 310.3 kB / 1.022 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.6785, allocations: 0 / 1.022 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.519e-05/0.6786, allocations: 0 / 1.022 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.787e-06/0.6786, allocations: 4 kB / 1.022 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.716e-06/0.6786, allocations: 7.984 kB / 1.022 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.412e-06/0.6786, allocations: 0 / 1.022 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.6786, allocations: 0 / 1.022 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001293/0.6787, allocations: 159.5 kB / 1.022 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.206e-05/0.6788, allocations: 77.11 kB / 1.022 GB, free: 13.56 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.598e-05/0.6788, allocations: 7.984 kB / 1.022 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.84e-05/0.6788, allocations: 0 / 1.022 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.924e-05/0.6789, allocations: 4 kB / 1.022 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.232e-06/0.6789, allocations: 8 kB / 1.022 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.367e-05/0.6789, allocations: 87.47 kB / 1.022 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1e-07/0.6789, allocations: 0 / 1.022 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002705/0.6792, allocations: 35.94 kB / 1.022 GB, free: 13.42 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.0006309/0.6798, allocations: 0.7618 MB / 1.023 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001103/0.68, allocations: 39.92 kB / 1.023 GB, free: 12.6 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.526e-06/0.68, allocations: 0 / 1.023 GB, free: 12.6 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 3.889e-05/0.68, allocations: 23.92 kB / 1.023 GB, free: 12.58 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001938/0.6802, allocations: 0 / 1.023 GB, free: 12.58 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009723/0.6812, allocations: 1.273 MB / 1.024 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000212/0.6814, allocations: 0.6768 MB / 1.025 GB, free: 10.5 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.08e-05/0.6814, allocations: 4 kB / 1.025 GB, free: 10.5 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.922e-05/0.6815, allocations: 11.44 kB / 1.025 GB, free: 10.49 MB / 0.7794 GB Notification: Performance of SimCode: time 3.61e-07/0.6815, allocations: 4 kB / 1.025 GB, free: 10.48 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01667/0.6981, allocations: 1.961 MB / 1.027 GB, free: 8.598 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.151/7.85, allocations: 15.25 kB / 1.027 GB, free: 8.586 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