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.001676/0.001676, allocations: 108 kB / 15.61 MB, free: 152 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.00181/0.00181, allocations: 198.2 kB / 16.53 MB, free: 6.664 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.404/1.404, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.789/2.789, allocations: 469.8 MB / 0.7424 GB, free: 7.496 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001871/0.001871, allocations: 62.47 kB / 0.9087 GB, free: 34.43 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2897/0.2916, allocations: 159.2 MB / 1.064 GB, free: 14.21 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Linear1D): time 0.00222/0.2938, allocations: 1.221 MB / 1.065 GB, free: 12.98 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0007624/0.2946, allocations: 420.5 kB / 1.066 GB, free: 12.57 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.567e-05/0.2946, allocations: 0 / 1.066 GB, free: 12.57 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 1.701e-05/0.2947, allocations: 3.938 kB / 1.066 GB, free: 12.57 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 3.4e-05/0.2947, allocations: 0 / 1.066 GB, free: 12.57 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.000479/0.2952, allocations: 115.6 kB / 1.066 GB, free: 12.45 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 4.964e-05/0.2952, allocations: 11.94 kB / 1.066 GB, free: 12.44 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.087e-05/0.2953, allocations: 3.984 kB / 1.066 GB, free: 12.44 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 2.388e-05/0.2953, allocations: 15.94 kB / 1.066 GB, free: 12.42 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 2.858e-05/0.2954, allocations: 7.984 kB / 1.066 GB, free: 12.41 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.293e-05/0.2954, allocations: 0 / 1.066 GB, free: 12.41 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000187/0.2956, allocations: 107.8 kB / 1.066 GB, free: 12.31 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.646e-05/0.2956, allocations: 3.984 kB / 1.066 GB, free: 12.3 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.959e-05/0.2956, allocations: 11.92 kB / 1.066 GB, free: 12.29 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001678/0.2958, allocations: 87.89 kB / 1.066 GB, free: 12.21 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/0.2958, allocations: 4 kB / 1.066 GB, free: 12.2 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.543e-06/0.2958, allocations: 0 / 1.066 GB, free: 12.2 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.508e-06/0.2958, allocations: 0 / 1.066 GB, free: 12.2 MB / 0.8262 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.0004692/0.2963, allocations: 385.4 kB / 1.066 GB, free: 11.77 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.409e-05/0.2963, allocations: 8.031 kB / 1.066 GB, free: 11.76 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.774e-05/0.2964, allocations: 34.66 kB / 1.066 GB, free: 11.72 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.714e-05/0.2964, allocations: 4.938 kB / 1.066 GB, free: 11.71 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001199/0.2966, allocations: 164.4 kB / 1.067 GB, free: 11.52 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.218e-05/0.2966, allocations: 4.375 kB / 1.067 GB, free: 11.51 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.628e-06/0.2966, allocations: 8.312 kB / 1.067 GB, free: 11.5 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.958e-05/0.2967, allocations: 38.25 kB / 1.067 GB, free: 11.46 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.869e-06/0.2967, allocations: 3.938 kB / 1.067 GB, free: 11.46 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.875e-06/0.2967, allocations: 4 kB / 1.067 GB, free: 11.45 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.127e-06/0.2967, allocations: 0 / 1.067 GB, free: 11.45 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.479e-05/0.2968, allocations: 11.98 kB / 1.067 GB, free: 11.44 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003179/0.2971, allocations: 241 kB / 1.067 GB, free: 11.16 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 8.709e-05/0.2972, allocations: 38.45 kB / 1.067 GB, free: 11.11 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.031e-05/0.2972, allocations: 24.94 kB / 1.067 GB, free: 11.08 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 5.039e-06/0.2973, allocations: 0 / 1.067 GB, free: 11.08 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001205/0.2974, allocations: 59.3 kB / 1.067 GB, free: 11.01 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=5): time 1.192e-06/0.2974, allocations: 0 / 1.067 GB, free: 11.01 MB / 0.8262 GB Notification: Performance of matching and sorting (n=5): time 0.0001996/0.2976, allocations: 73.62 kB / 1.067 GB, free: 10.93 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.889e-05/0.2976, allocations: 51.41 kB / 1.067 GB, free: 10.87 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.144e-05/0.2977, allocations: 105.8 kB / 1.067 GB, free: 10.76 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.755e-05/0.2978, allocations: 29.7 kB / 1.067 GB, free: 10.72 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 3.682e-05/0.2978, allocations: 80.14 kB / 1.067 GB, free: 10.64 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.818e-05/0.2978, allocations: 19.75 kB / 1.067 GB, free: 10.62 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.586e-05/0.2979, allocations: 21.7 kB / 1.067 GB, free: 10.59 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001164/0.298, allocations: 318.8 kB / 1.068 GB, free: 10.27 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.152e-05/0.298, allocations: 8.234 kB / 1.068 GB, free: 10.27 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.766e-05/0.298, allocations: 31.44 kB / 1.068 GB, free: 10.22 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.881e-05/0.2981, allocations: 63.53 kB / 1.068 GB, free: 10.15 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.945e-06/0.2981, allocations: 11.81 kB / 1.068 GB, free: 10.14 MB / 0.8262 GB Notification: Performance of matching and sorting (n=8) (initialization): time 9.605e-05/0.2982, allocations: 65.62 kB / 1.068 GB, free: 10.07 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 9.688e-06/0.2982, allocations: 4 kB / 1.068 GB, free: 10.06 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.2983, allocations: 4 kB / 1.068 GB, free: 10.06 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.11e-05/0.2983, allocations: 64 / 1.068 GB, free: 10.06 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.255e-05/0.2983, allocations: 19.92 kB / 1.068 GB, free: 10.04 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.558e-06/0.2983, allocations: 0 / 1.068 GB, free: 10.04 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.545e-05/0.2984, allocations: 8 kB / 1.068 GB, free: 10.03 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.062e-06/0.2984, allocations: 0 / 1.068 GB, free: 10.03 MB / 0.8262 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.341e-05/0.2985, allocations: 113.8 kB / 1.068 GB, free: 9.91 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.551e-05/0.2985, allocations: 11.91 kB / 1.068 GB, free: 9.898 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.635e-05/0.2985, allocations: 3.562 kB / 1.068 GB, free: 9.898 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-06/0.2985, allocations: 3.984 kB / 1.068 GB, free: 9.895 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.905e-06/0.2985, allocations: 4 kB / 1.068 GB, free: 9.891 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.284e-06/0.2985, allocations: 0 / 1.068 GB, free: 9.891 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002487/0.2988, allocations: 302.5 kB / 1.068 GB, free: 9.539 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.2988, allocations: 0 / 1.068 GB, free: 9.539 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.786e-05/0.2988, allocations: 7.984 kB / 1.068 GB, free: 9.531 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.383e-06/0.2988, allocations: 0 / 1.068 GB, free: 9.531 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.312e-06/0.2988, allocations: 0 / 1.068 GB, free: 9.531 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.2988, allocations: 0 / 1.068 GB, free: 9.531 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.2988, allocations: 0 / 1.068 GB, free: 9.531 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001453/0.299, allocations: 167.4 kB / 1.068 GB, free: 9.352 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.423e-05/0.299, allocations: 89 kB / 1.069 GB, free: 9.246 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.099e-05/0.299, allocations: 0 / 1.069 GB, free: 9.246 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.502e-05/0.2991, allocations: 128 / 1.069 GB, free: 9.246 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.651e-05/0.2991, allocations: 4 kB / 1.069 GB, free: 9.242 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.524e-06/0.2991, allocations: 8 kB / 1.069 GB, free: 9.234 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.237e-05/0.2992, allocations: 83.27 kB / 1.069 GB, free: 9.152 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2992, allocations: 0 / 1.069 GB, free: 9.152 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.000251/0.2994, allocations: 39.94 kB / 1.069 GB, free: 9.113 MB / 0.8262 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.0006613/0.3001, allocations: 0.7615 MB / 1.069 GB, free: 8.34 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.000106/0.3002, allocations: 43.98 kB / 1.069 GB, free: 8.297 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.3002, allocations: 0 / 1.069 GB, free: 8.297 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 3.802e-05/0.3003, allocations: 19.92 kB / 1.069 GB, free: 8.277 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000182/0.3005, allocations: 3.938 kB / 1.069 GB, free: 8.273 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001/0.3015, allocations: 1.265 MB / 1.071 GB, free: 6.91 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002617/0.3017, allocations: 0.6807 MB / 1.071 GB, free: 6.203 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 1.493e-05/0.3018, allocations: 0 / 1.071 GB, free: 6.203 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.545e-05/0.3018, allocations: 11.44 kB / 1.071 GB, free: 6.191 MB / 0.8262 GB Notification: Performance of SimCode: time 2.11e-07/0.3018, allocations: 0 / 1.071 GB, free: 6.191 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.965/2.267, allocations: 1.972 MB / 1.073 GB, free: 4.285 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.494/11.76, allocations: 9.656 kB / 1.073 GB, free: 4.277 MB / 0.8262 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