Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.Weibull1DON,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DON") translateModel(Buildings.Occupants.BaseClasses.Validation.Weibull1DON,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DON") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001421/0.001421, allocations: 107.3 kB / 16.41 MB, free: 6.406 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.001379/0.001379, allocations: 188.9 kB / 17.34 MB, free: 5.695 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.368/1.368, allocations: 222.9 MB / 241 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.641/2.641, allocations: 461.9 MB / 0.7354 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001582/0.001582, allocations: 63.91 kB / 1.055 GB, free: 7.727 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7894/0.791, allocations: 157.4 MB / 1.208 GB, free: 13.62 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Weibull1DON): time 0.002962/0.794, allocations: 1.223 MB / 1.21 GB, free: 12.4 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001412/0.7954, allocations: 442.5 kB / 1.21 GB, free: 11.96 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.844e-05/0.7955, allocations: 0 / 1.21 GB, free: 11.96 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.358e-05/0.7956, allocations: 0 / 1.21 GB, free: 11.96 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 5.048e-05/0.7956, allocations: 3.938 kB / 1.21 GB, free: 11.96 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007755/0.7964, allocations: 123.6 kB / 1.21 GB, free: 11.84 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 7.632e-05/0.7965, allocations: 15.98 kB / 1.21 GB, free: 11.82 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 5.234e-05/0.7966, allocations: 7.984 kB / 1.21 GB, free: 11.82 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 2.939e-05/0.7966, allocations: 11.94 kB / 1.21 GB, free: 11.8 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 3.454e-05/0.7966, allocations: 7.922 kB / 1.21 GB, free: 11.8 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.688e-05/0.7967, allocations: 4 kB / 1.21 GB, free: 11.79 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002522/0.7969, allocations: 107.8 kB / 1.21 GB, free: 11.69 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.705e-05/0.7969, allocations: 0 / 1.21 GB, free: 11.69 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 3.761e-05/0.797, allocations: 15.92 kB / 1.21 GB, free: 11.67 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0002341/0.7972, allocations: 95.81 kB / 1.21 GB, free: 11.58 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.7972, allocations: 0 / 1.21 GB, free: 11.58 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.743e-06/0.7972, allocations: 0 / 1.21 GB, free: 11.58 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 6.221e-06/0.7973, allocations: 3.938 kB / 1.21 GB, free: 11.57 MB / 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.0005518/0.7978, allocations: 385 kB / 1.211 GB, free: 11.14 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.856e-05/0.7979, allocations: 8.031 kB / 1.211 GB, free: 11.14 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.347e-05/0.7979, allocations: 8.938 kB / 1.211 GB, free: 11.13 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001396/0.7981, allocations: 176.2 kB / 1.211 GB, free: 10.92 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.253e-05/0.7981, allocations: 384 / 1.211 GB, free: 10.92 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.541e-05/0.7981, allocations: 8.375 kB / 1.211 GB, free: 10.91 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00011/0.7982, allocations: 34.25 kB / 1.211 GB, free: 10.87 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.596e-06/0.7982, allocations: 4.125 kB / 1.211 GB, free: 10.87 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.483e-05/0.7983, allocations: 7.938 kB / 1.211 GB, free: 10.86 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.558e-06/0.7983, allocations: 0 / 1.211 GB, free: 10.86 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.793e-05/0.7983, allocations: 11.98 kB / 1.211 GB, free: 10.85 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001922/0.7985, allocations: 153.7 kB / 1.211 GB, free: 10.65 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 8.826e-05/0.7986, allocations: 34.5 kB / 1.211 GB, free: 10.61 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.54e-05/0.7987, allocations: 12.86 kB / 1.211 GB, free: 10.59 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 8.105e-06/0.7987, allocations: 0 / 1.211 GB, free: 10.59 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001695/0.7988, allocations: 55.48 kB / 1.211 GB, free: 10.52 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=4): time 1.252e-06/0.7989, allocations: 0 / 1.211 GB, free: 10.52 MB / 0.9356 GB Notification: Performance of matching and sorting (n=4): time 0.0002535/0.7991, allocations: 69.62 kB / 1.211 GB, free: 10.45 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.297e-05/0.7992, allocations: 55.34 kB / 1.211 GB, free: 10.38 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.873e-05/0.7993, allocations: 117.8 kB / 1.211 GB, free: 10.26 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.892e-05/0.7993, allocations: 29.7 kB / 1.212 GB, free: 10.22 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 5.211e-05/0.7994, allocations: 84.12 kB / 1.212 GB, free: 10.14 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.407e-05/0.7994, allocations: 21.62 kB / 1.212 GB, free: 10.12 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.307e-05/0.7995, allocations: 17.72 kB / 1.212 GB, free: 10.09 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001271/0.7996, allocations: 314.8 kB / 1.212 GB, free: 9.777 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.293e-05/0.7996, allocations: 11.98 kB / 1.212 GB, free: 9.766 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.866e-05/0.7997, allocations: 31.44 kB / 1.212 GB, free: 9.723 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.132e-05/0.7998, allocations: 47.36 kB / 1.212 GB, free: 9.664 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.025e-06/0.7998, allocations: 0 / 1.212 GB, free: 9.664 MB / 0.9356 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001091/0.7999, allocations: 65.62 kB / 1.212 GB, free: 9.594 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.77e-05/0.7999, allocations: 12.03 kB / 1.212 GB, free: 9.582 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/0.7999, allocations: 0 / 1.212 GB, free: 9.582 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.147e-05/0.7999, allocations: 4 kB / 1.212 GB, free: 9.578 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.031e-05/0.8, allocations: 11.92 kB / 1.212 GB, free: 9.566 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.758e-06/0.8, allocations: 4 kB / 1.212 GB, free: 9.562 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.681e-05/0.8001, allocations: 0 / 1.212 GB, free: 9.562 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.149e-05/0.8001, allocations: 8 kB / 1.212 GB, free: 9.555 MB / 0.9356 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 9.302e-05/0.8002, allocations: 105.8 kB / 1.212 GB, free: 9.441 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.64e-05/0.8002, allocations: 12.08 kB / 1.212 GB, free: 9.43 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.185e-05/0.8002, allocations: 11.91 kB / 1.212 GB, free: 9.406 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.938e-06/0.8003, allocations: 3.984 kB / 1.212 GB, free: 9.402 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.742e-06/0.8003, allocations: 3.938 kB / 1.212 GB, free: 9.398 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.8003, allocations: 7.938 kB / 1.212 GB, free: 9.391 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00015/0.8004, allocations: 157.6 kB / 1.212 GB, free: 9.188 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.8004, allocations: 0 / 1.212 GB, free: 9.188 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.343e-05/0.8005, allocations: 0 / 1.212 GB, free: 9.188 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.027e-06/0.8005, allocations: 3.938 kB / 1.212 GB, free: 9.184 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.174e-05/0.8005, allocations: 8 kB / 1.212 GB, free: 9.176 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.8005, allocations: 0 / 1.212 GB, free: 9.176 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/0.8005, allocations: 0 / 1.212 GB, free: 9.176 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001349/0.8006, allocations: 89.05 kB / 1.212 GB, free: 9.07 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 9.041e-05/0.8007, allocations: 85.02 kB / 1.213 GB, free: 8.969 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.826e-05/0.8008, allocations: 3.938 kB / 1.213 GB, free: 8.965 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.387e-05/0.8008, allocations: 0 / 1.213 GB, free: 8.965 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.097e-05/0.8008, allocations: 7.984 kB / 1.213 GB, free: 8.957 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.981e-06/0.8008, allocations: 256 / 1.213 GB, free: 8.957 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 5.004e-05/0.8009, allocations: 87.28 kB / 1.213 GB, free: 8.871 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8009, allocations: 4 kB / 1.213 GB, free: 8.867 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002801/0.8012, allocations: 31.98 kB / 1.213 GB, free: 8.836 MB / 0.9356 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.0003674/0.8016, allocations: 155.1 kB / 1.213 GB, free: 8.688 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0001225/0.8017, allocations: 31.92 kB / 1.213 GB, free: 8.656 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.8017, allocations: 192 / 1.213 GB, free: 8.656 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 3.817e-05/0.8018, allocations: 16 kB / 1.213 GB, free: 8.641 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001462/0.8019, allocations: 9.484 kB / 1.213 GB, free: 8.633 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002803/0.8022, allocations: 142.8 kB / 1.213 GB, free: 8.461 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000434/0.8026, allocations: 0.6807 MB / 1.214 GB, free: 7.754 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.617e-05/0.8027, allocations: 7.438 kB / 1.214 GB, free: 7.75 MB / 0.9356 GB Notification: Performance of SimCode: time 2.21e-07/0.8027, allocations: 0 / 1.214 GB, free: 7.75 MB / 0.9356 GB Notification: Performance of Templates: time 0.003365/0.806, allocations: 1.252 MB / 1.215 GB, free: 6.5 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.makefile (rm -f Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.pipe ; mkfifo Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.pipe >> ../files/Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.sim & ./Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DON -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DON_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_BaseClasses_Validation_Weibull1DON.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches