Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_Buildings_Occupants_BaseClasses_Validation_Linear1D",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.Linear1D,fileNamePrefix="Buildings_latest_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.008309/0.008309, allocations: 96.7 kB / 15.73 MB, free: 6.047 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.001946/0.001946, allocations: 198.6 kB / 16.68 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.458/1.458, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.733/2.733, allocations: 482.6 MB / 0.755 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001747/0.001747, allocations: 68.12 kB / 1.083 GB, free: 12.26 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2897/0.2915, allocations: 162.3 MB / 1.242 GB, free: 9.859 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Linear1D): time 0.002028/0.2935, allocations: 1.219 MB / 1.243 GB, free: 8.629 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0007578/0.2943, allocations: 414.6 kB / 1.243 GB, free: 8.223 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.111e-05/0.2943, allocations: 0 / 1.243 GB, free: 8.223 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 1.831e-05/0.2944, allocations: 3.938 kB / 1.243 GB, free: 8.219 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 3.007e-05/0.2944, allocations: 0 / 1.243 GB, free: 8.219 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004493/0.2949, allocations: 111.6 kB / 1.244 GB, free: 8.109 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 5.805e-05/0.2949, allocations: 15.92 kB / 1.244 GB, free: 8.094 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.25e-05/0.295, allocations: 0 / 1.244 GB, free: 8.094 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.686e-05/0.295, allocations: 15.92 kB / 1.244 GB, free: 8.078 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 2.386e-05/0.295, allocations: 4 kB / 1.244 GB, free: 8.074 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.076e-05/0.2951, allocations: 0 / 1.244 GB, free: 8.074 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001889/0.2952, allocations: 107.8 kB / 1.244 GB, free: 7.969 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.692e-05/0.2953, allocations: 7.922 kB / 1.244 GB, free: 7.961 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 2.518e-05/0.2953, allocations: 8 kB / 1.244 GB, free: 7.953 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001784/0.2955, allocations: 103.7 kB / 1.244 GB, free: 7.852 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 2.845e-06/0.2955, allocations: 0 / 1.244 GB, free: 7.852 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.232e-06/0.2955, allocations: 0 / 1.244 GB, free: 7.852 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.499e-06/0.2955, allocations: 0 / 1.244 GB, free: 7.852 MB / 0.9981 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.0004437/0.296, allocations: 384.8 kB / 1.244 GB, free: 7.418 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.286e-05/0.296, allocations: 8.031 kB / 1.244 GB, free: 7.41 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.314e-05/0.2961, allocations: 38.75 kB / 1.244 GB, free: 7.363 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.493e-05/0.2961, allocations: 4.891 kB / 1.244 GB, free: 7.359 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001125/0.2962, allocations: 164.4 kB / 1.244 GB, free: 7.16 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.687e-05/0.2962, allocations: 8.375 kB / 1.244 GB, free: 7.152 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.387e-06/0.2962, allocations: 4.375 kB / 1.244 GB, free: 7.148 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.322e-05/0.2963, allocations: 42.19 kB / 1.244 GB, free: 7.102 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.849e-06/0.2964, allocations: 3.938 kB / 1.244 GB, free: 7.098 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.833e-06/0.2964, allocations: 0 / 1.244 GB, free: 7.098 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.226e-06/0.2964, allocations: 0 / 1.244 GB, free: 7.098 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.311e-05/0.2964, allocations: 11.98 kB / 1.244 GB, free: 7.086 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002922/0.2967, allocations: 241 kB / 1.245 GB, free: 6.801 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 8.715e-05/0.2968, allocations: 46.39 kB / 1.245 GB, free: 6.746 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.849e-05/0.2969, allocations: 20.94 kB / 1.245 GB, free: 6.723 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 7.875e-06/0.2969, allocations: 0 / 1.245 GB, free: 6.723 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001176/0.297, allocations: 51.41 kB / 1.245 GB, free: 6.66 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=5): time 1.282e-06/0.297, allocations: 0 / 1.245 GB, free: 6.66 MB / 0.9981 GB Notification: Performance of matching and sorting (n=5): time 0.0001988/0.2972, allocations: 81.62 kB / 1.245 GB, free: 6.574 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.29e-05/0.2973, allocations: 59.34 kB / 1.245 GB, free: 6.504 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.603e-05/0.2973, allocations: 101.8 kB / 1.245 GB, free: 6.395 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.458e-05/0.2974, allocations: 25.7 kB / 1.245 GB, free: 6.363 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 3.474e-05/0.2974, allocations: 80.14 kB / 1.245 GB, free: 6.281 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.504e-05/0.2974, allocations: 15.89 kB / 1.245 GB, free: 6.266 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.99e-05/0.2975, allocations: 21.7 kB / 1.245 GB, free: 6.238 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001191/0.2976, allocations: 318.8 kB / 1.245 GB, free: 5.918 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.85e-05/0.2976, allocations: 8 kB / 1.245 GB, free: 5.91 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.063e-05/0.2977, allocations: 35.61 kB / 1.245 GB, free: 5.863 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.694e-05/0.2977, allocations: 55.34 kB / 1.246 GB, free: 5.797 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.537e-06/0.2977, allocations: 3.938 kB / 1.246 GB, free: 5.793 MB / 0.9981 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001055/0.2978, allocations: 73.58 kB / 1.246 GB, free: 5.715 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.185e-05/0.2979, allocations: 8 kB / 1.246 GB, free: 5.707 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.531e-06/0.2979, allocations: 0 / 1.246 GB, free: 5.707 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.009e-05/0.2979, allocations: 3.938 kB / 1.246 GB, free: 5.703 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.454e-05/0.2979, allocations: 15.92 kB / 1.246 GB, free: 5.688 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.416e-06/0.298, allocations: 4 kB / 1.246 GB, free: 5.684 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.283e-05/0.298, allocations: 4 kB / 1.246 GB, free: 5.68 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.436e-06/0.298, allocations: 4 kB / 1.246 GB, free: 5.676 MB / 0.9981 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.329e-05/0.2981, allocations: 113.8 kB / 1.246 GB, free: 5.555 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.473e-05/0.2981, allocations: 12.02 kB / 1.246 GB, free: 5.543 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.917e-05/0.2981, allocations: 3.562 kB / 1.246 GB, free: 5.535 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.302e-06/0.2981, allocations: 0 / 1.246 GB, free: 5.535 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.056e-06/0.2981, allocations: 0 / 1.246 GB, free: 5.535 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.025e-06/0.2981, allocations: 4.234 kB / 1.246 GB, free: 5.531 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002589/0.2984, allocations: 306.5 kB / 1.246 GB, free: 5.176 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.2984, allocations: 0 / 1.246 GB, free: 5.176 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.741e-05/0.2984, allocations: 4 kB / 1.246 GB, free: 5.172 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.362e-06/0.2984, allocations: 0 / 1.246 GB, free: 5.172 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.235e-06/0.2985, allocations: 3.984 kB / 1.246 GB, free: 5.168 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.755e-06/0.2985, allocations: 8 kB / 1.246 GB, free: 5.16 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.72e-07/0.2985, allocations: 0 / 1.246 GB, free: 5.16 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001499/0.2986, allocations: 167.4 kB / 1.246 GB, free: 4.98 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.225e-05/0.2987, allocations: 88.98 kB / 1.246 GB, free: 4.875 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.13e-05/0.2987, allocations: 0 / 1.246 GB, free: 4.875 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.651e-05/0.2987, allocations: 0 / 1.246 GB, free: 4.875 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.078e-05/0.2988, allocations: 8 kB / 1.246 GB, free: 4.867 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.769e-06/0.2988, allocations: 0 / 1.246 GB, free: 4.867 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 4.353e-05/0.2988, allocations: 87.27 kB / 1.246 GB, free: 4.781 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2988, allocations: 0 / 1.246 GB, free: 4.781 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002591/0.2991, allocations: 35.88 kB / 1.246 GB, free: 4.746 MB / 0.9981 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.0006886/0.2998, allocations: 0.7728 MB / 1.247 GB, free: 3.957 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0001018/0.2999, allocations: 35.92 kB / 1.247 GB, free: 3.922 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.2999, allocations: 0 / 1.247 GB, free: 3.922 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 4.148e-05/0.3, allocations: 19.92 kB / 1.247 GB, free: 3.902 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001876/0.3001, allocations: 4 kB / 1.247 GB, free: 3.898 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001044/0.3012, allocations: 1.261 MB / 1.248 GB, free: 2.539 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002717/0.3015, allocations: 0.6807 MB / 1.249 GB, free: 1.832 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 1.465e-05/0.3015, allocations: 256 / 1.249 GB, free: 1.832 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.592e-05/0.3015, allocations: 23.36 kB / 1.249 GB, free: 1.812 MB / 0.9981 GB Notification: Performance of SimCode: time 2.1e-07/0.3015, allocations: 0 / 1.249 GB, free: 1.812 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7989/1.1, allocations: 1.995 MB / 1.251 GB, free: 14.66 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.257/8.358, allocations: 7.312 kB / 1.251 GB, free: 14.66 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe ; mkfifo Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe >> ../files/Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Linear1D.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Linear1D_res.mat --tempDir=temp_Buildings_latest_Buildings_Occupants_BaseClasses_Validation_Linear1D_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_latest_Buildings_Occupants_BaseClasses_Validation_Linear1D.fmu > Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Linear1D_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_BaseClasses_Validation_Linear1D.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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