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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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: translateModel(Buildings.Occupants.BaseClasses.Validation.Linear1D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Linear1D") translateModel(Buildings.Occupants.BaseClasses.Validation.Linear1D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Linear1D") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001145/0.001145, allocations: 103.2 kB / 16.35 MB, free: 5.828 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.001132/0.001132, allocations: 193.2 kB / 17.29 MB, free: 5.484 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.344/1.344, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.503/2.503, allocations: 442.6 MB / 0.7165 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002134/0.002134, allocations: 63.22 kB / 0.8773 GB, free: 11 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2886/0.2907, allocations: 153 MB / 1.027 GB, free: 2.09 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Linear1D): time 0.002631/0.2934, allocations: 1.221 MB / 1.028 GB, free: 0.8594 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0008385/0.2943, allocations: 420.9 kB / 1.028 GB, free: 460 kB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.042e-05/0.2943, allocations: 0 / 1.028 GB, free: 460 kB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 1.721e-05/0.2943, allocations: 7.938 kB / 1.028 GB, free: 452 kB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 4.004e-05/0.2944, allocations: 4 kB / 1.028 GB, free: 448 kB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005622/0.295, allocations: 107.6 kB / 1.028 GB, free: 340 kB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 6.566e-05/0.2951, allocations: 15.94 kB / 1.028 GB, free: 324 kB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 4.651e-05/0.2951, allocations: 7.984 kB / 1.028 GB, free: 316 kB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 2.466e-05/0.2951, allocations: 15.92 kB / 1.028 GB, free: 300 kB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 4.456e-05/0.2952, allocations: 7.922 kB / 1.028 GB, free: 292 kB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.303e-05/0.2952, allocations: 4 kB / 1.028 GB, free: 288 kB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001982/0.2954, allocations: 95.84 kB / 1.029 GB, free: 192 kB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 1.807e-05/0.2954, allocations: 12 kB / 1.029 GB, free: 180 kB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 3.488e-05/0.2955, allocations: 7.922 kB / 1.029 GB, free: 172 kB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001967/0.2957, allocations: 91.88 kB / 1.029 GB, free: 80 kB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.2957, allocations: 0 / 1.029 GB, free: 80 kB / 0.795 GB Notification: Performance of FrontEnd: time 3.136e-06/0.2957, allocations: 0 / 1.029 GB, free: 80 kB / 0.795 GB Notification: Performance of Transformations before backend: time 5.009e-06/0.2957, allocations: 3.938 kB / 1.029 GB, free: 76 kB / 0.795 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.0005125/0.2962, allocations: 377.2 kB / 1.029 GB, free: 15.65 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.751e-05/0.2963, allocations: 12.03 kB / 1.029 GB, free: 15.64 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.697e-05/0.2963, allocations: 4.844 kB / 1.029 GB, free: 15.63 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001058/0.2964, allocations: 164.4 kB / 1.029 GB, free: 15.43 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.387e-05/0.2965, allocations: 4.375 kB / 1.029 GB, free: 15.43 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.243e-05/0.2965, allocations: 384 / 1.029 GB, free: 15.43 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001031/0.2966, allocations: 46.17 kB / 1.029 GB, free: 15.38 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.332e-06/0.2966, allocations: 4.188 kB / 1.029 GB, free: 15.38 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.136e-05/0.2966, allocations: 3.938 kB / 1.029 GB, free: 15.37 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.907e-06/0.2966, allocations: 0 / 1.029 GB, free: 15.37 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.065e-05/0.2967, allocations: 4 kB / 1.029 GB, free: 15.37 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001479/0.2968, allocations: 153.7 kB / 1.029 GB, free: 15.17 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 8.685e-05/0.2969, allocations: 42.53 kB / 1.029 GB, free: 15.12 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.041e-05/0.297, allocations: 8.859 kB / 1.029 GB, free: 15.11 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 8.967e-06/0.297, allocations: 0 / 1.029 GB, free: 15.11 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001475/0.2971, allocations: 59.42 kB / 1.03 GB, free: 15.04 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=4): time 1.253e-06/0.2971, allocations: 0 / 1.03 GB, free: 15.04 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4): time 0.0002146/0.2973, allocations: 69.61 kB / 1.03 GB, free: 14.96 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.735e-05/0.2974, allocations: 59.41 kB / 1.03 GB, free: 14.89 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.154e-05/0.2975, allocations: 101.8 kB / 1.03 GB, free: 14.78 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.438e-05/0.2975, allocations: 25.7 kB / 1.03 GB, free: 14.75 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.587e-05/0.2976, allocations: 88.12 kB / 1.03 GB, free: 14.66 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.525e-05/0.2976, allocations: 7.906 kB / 1.03 GB, free: 14.65 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.309e-05/0.2976, allocations: 21.66 kB / 1.03 GB, free: 14.62 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001332/0.2978, allocations: 318.8 kB / 1.03 GB, free: 14.3 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.525e-05/0.2978, allocations: 15.98 kB / 1.03 GB, free: 14.29 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.521e-05/0.2978, allocations: 35.36 kB / 1.03 GB, free: 14.24 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.925e-05/0.2979, allocations: 47.38 kB / 1.03 GB, free: 14.18 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.2979, allocations: 0 / 1.03 GB, free: 14.18 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001557/0.2981, allocations: 65.62 kB / 1.03 GB, free: 14.11 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.376e-05/0.2981, allocations: 11.94 kB / 1.03 GB, free: 14.1 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.618e-06/0.2981, allocations: 0 / 1.03 GB, free: 14.1 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.493e-05/0.2981, allocations: 4 kB / 1.03 GB, free: 14.1 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.591e-05/0.2982, allocations: 7.984 kB / 1.03 GB, free: 14.09 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.564e-06/0.2982, allocations: 3.938 kB / 1.03 GB, free: 14.09 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.466e-05/0.2982, allocations: 4 kB / 1.03 GB, free: 14.08 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.12e-05/0.2983, allocations: 8 kB / 1.03 GB, free: 14.07 MB / 0.8106 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 (y,$PRE.y,curSeed,$PRE.curSeed,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.687e-05/0.2983, allocations: 121.8 kB / 1.03 GB, free: 13.95 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.752e-05/0.2984, allocations: 11.84 kB / 1.03 GB, free: 13.93 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.551e-05/0.2984, allocations: 3.5 kB / 1.03 GB, free: 13.92 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.844e-06/0.2984, allocations: 0 / 1.03 GB, free: 13.92 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.2984, allocations: 0 / 1.03 GB, free: 13.92 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.609e-06/0.2984, allocations: 3.984 kB / 1.03 GB, free: 13.92 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001101/0.2985, allocations: 153.7 kB / 1.031 GB, free: 13.72 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.2985, allocations: 0 / 1.031 GB, free: 13.72 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.399e-05/0.2986, allocations: 4 kB / 1.031 GB, free: 13.71 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/0.2986, allocations: 3.938 kB / 1.031 GB, free: 13.71 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.835e-06/0.2986, allocations: 0 / 1.031 GB, free: 13.71 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.2986, allocations: 4 kB / 1.031 GB, free: 13.71 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.2986, allocations: 0 / 1.031 GB, free: 13.71 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001286/0.2987, allocations: 93.45 kB / 1.031 GB, free: 13.6 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.647e-05/0.2988, allocations: 77.11 kB / 1.031 GB, free: 13.5 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.504e-05/0.2988, allocations: 3.938 kB / 1.031 GB, free: 13.5 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.055e-05/0.2988, allocations: 0 / 1.031 GB, free: 13.5 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.416e-05/0.2989, allocations: 11.92 kB / 1.031 GB, free: 13.49 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.262e-06/0.2989, allocations: 0 / 1.031 GB, free: 13.49 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.946e-05/0.2989, allocations: 87.28 kB / 1.031 GB, free: 13.4 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2989, allocations: 0 / 1.031 GB, free: 13.4 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002516/0.2992, allocations: 35.98 kB / 1.031 GB, free: 13.37 MB / 0.8106 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,y,curSeed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 2 * 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.0003122/0.2995, allocations: 164.6 kB / 1.031 GB, free: 13.21 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001073/0.2996, allocations: 31.98 kB / 1.031 GB, free: 13.18 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.2996, allocations: 0 / 1.031 GB, free: 13.18 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 3.614e-05/0.2997, allocations: 12 kB / 1.031 GB, free: 13.17 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001343/0.2998, allocations: 4 kB / 1.031 GB, free: 13.17 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002313/0.3, allocations: 104.8 kB / 1.031 GB, free: 13.04 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002628/0.3003, allocations: 0.6729 MB / 1.032 GB, free: 12.34 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 2.517e-05/0.3003, allocations: 7.984 kB / 1.032 GB, free: 12.33 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.668e-05/0.3004, allocations: 11.38 kB / 1.032 GB, free: 12.32 MB / 0.8106 GB Notification: Performance of SimCode: time 2.3e-07/0.3004, allocations: 4.125 kB / 1.032 GB, free: 12.32 MB / 0.8106 GB Notification: Performance of Templates: time 0.00341/0.3038, allocations: 1.031 MB / 1.033 GB, free: 11.29 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Linear1D.makefile (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 & ./Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Linear1D -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > 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,t0,time,y