Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.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: translateModel(Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF") translateModel(Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001402/0.001402, allocations: 108 kB / 15.61 MB, free: 148 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.001886/0.001885, allocations: 191.9 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.456/1.456, allocations: 222.9 MB / 240.2 MB, free: 4.371 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.176/3.176, allocations: 472.6 MB / 0.7451 GB, free: 4.617 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001253/0.001253, allocations: 59.27 kB / 0.912 GB, free: 33.33 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.344/0.3452, allocations: 159.9 MB / 1.068 GB, free: 10.39 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF): time 0.002316/0.3476, allocations: 1.225 MB / 1.069 GB, free: 9.156 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0008492/0.3485, allocations: 452.7 kB / 1.07 GB, free: 8.715 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.412e-05/0.3485, allocations: 0 / 1.07 GB, free: 8.715 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 1.61e-05/0.3485, allocations: 0 / 1.07 GB, free: 8.715 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 3.575e-05/0.3486, allocations: 3.938 kB / 1.07 GB, free: 8.711 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005245/0.3491, allocations: 115.6 kB / 1.07 GB, free: 8.598 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 6.605e-05/0.3492, allocations: 19.86 kB / 1.07 GB, free: 8.578 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 5.137e-05/0.3492, allocations: 11.98 kB / 1.07 GB, free: 8.566 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 2.332e-05/0.3493, allocations: 4 kB / 1.07 GB, free: 8.562 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 2.95e-05/0.3493, allocations: 7.922 kB / 1.07 GB, free: 8.555 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.658e-05/0.3493, allocations: 4 kB / 1.07 GB, free: 8.551 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002139/0.3495, allocations: 107.8 kB / 1.07 GB, free: 8.445 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.635e-05/0.3496, allocations: 0 / 1.07 GB, free: 8.445 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.442e-05/0.3496, allocations: 15.92 kB / 1.07 GB, free: 8.43 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001756/0.3498, allocations: 95.81 kB / 1.07 GB, free: 8.336 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 2.925e-06/0.3498, allocations: 0 / 1.07 GB, free: 8.336 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.443e-06/0.3498, allocations: 0 / 1.07 GB, free: 8.336 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.101e-06/0.3498, allocations: 0 / 1.07 GB, free: 8.336 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.0004673/0.3503, allocations: 393.3 kB / 1.071 GB, free: 7.895 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.418e-05/0.3503, allocations: 8.031 kB / 1.071 GB, free: 7.887 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.743e-05/0.3504, allocations: 8.922 kB / 1.071 GB, free: 7.879 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001043/0.3505, allocations: 164.3 kB / 1.071 GB, free: 7.68 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.235e-05/0.3505, allocations: 384 / 1.071 GB, free: 7.68 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.299e-05/0.3505, allocations: 16.25 kB / 1.071 GB, free: 7.664 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000104/0.3506, allocations: 38.25 kB / 1.071 GB, free: 7.621 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.004e-06/0.3507, allocations: 192 / 1.071 GB, free: 7.621 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.102e-05/0.3507, allocations: 3.938 kB / 1.071 GB, free: 7.617 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.788e-06/0.3507, allocations: 4 kB / 1.071 GB, free: 7.613 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.051e-05/0.3507, allocations: 3.984 kB / 1.071 GB, free: 7.609 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001525/0.3509, allocations: 157.7 kB / 1.071 GB, free: 7.406 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 8.57e-05/0.351, allocations: 34.59 kB / 1.071 GB, free: 7.363 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.009e-05/0.351, allocations: 16.8 kB / 1.071 GB, free: 7.344 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 7.574e-06/0.351, allocations: 0 / 1.071 GB, free: 7.344 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001357/0.3512, allocations: 55.48 kB / 1.071 GB, free: 7.277 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=4): time 1.382e-06/0.3512, allocations: 0 / 1.071 GB, free: 7.277 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4): time 0.0002164/0.3514, allocations: 69.62 kB / 1.071 GB, free: 7.203 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.113e-05/0.3514, allocations: 59.33 kB / 1.071 GB, free: 7.133 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.025e-05/0.3515, allocations: 105.9 kB / 1.071 GB, free: 7.02 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.475e-05/0.3516, allocations: 29.7 kB / 1.071 GB, free: 6.984 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.143e-05/0.3516, allocations: 88.11 kB / 1.071 GB, free: 6.895 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.264e-05/0.3516, allocations: 19.75 kB / 1.071 GB, free: 6.875 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.407e-05/0.3517, allocations: 17.72 kB / 1.071 GB, free: 6.852 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001195/0.3518, allocations: 318.8 kB / 1.072 GB, free: 6.531 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.136e-05/0.3518, allocations: 8 kB / 1.072 GB, free: 6.523 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.683e-05/0.3519, allocations: 35.42 kB / 1.072 GB, free: 6.477 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.67e-05/0.3519, allocations: 43.38 kB / 1.072 GB, free: 6.422 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.3519, allocations: 3.938 kB / 1.072 GB, free: 6.418 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7) (initialization): time 9.168e-05/0.352, allocations: 65.62 kB / 1.072 GB, free: 6.348 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.322e-05/0.3521, allocations: 8.031 kB / 1.072 GB, free: 6.34 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.3521, allocations: 4.25 kB / 1.072 GB, free: 6.336 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.002e-05/0.3521, allocations: 4 kB / 1.072 GB, free: 6.332 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.712e-05/0.3522, allocations: 15.92 kB / 1.072 GB, free: 6.316 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.872e-06/0.3522, allocations: 4 kB / 1.072 GB, free: 6.312 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.427e-05/0.3522, allocations: 4 kB / 1.072 GB, free: 6.309 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.468e-06/0.3522, allocations: 4 kB / 1.072 GB, free: 6.305 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 (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 6.593e-05/0.3523, allocations: 108.3 kB / 1.072 GB, free: 6.191 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.656e-05/0.3523, allocations: 11.84 kB / 1.072 GB, free: 6.18 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.333e-05/0.3523, allocations: 11.91 kB / 1.072 GB, free: 6.16 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.403e-06/0.3523, allocations: 0 / 1.072 GB, free: 6.16 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.035e-06/0.3523, allocations: 0 / 1.072 GB, free: 6.16 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.3524, allocations: 3.984 kB / 1.072 GB, free: 6.156 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001173/0.3525, allocations: 157.7 kB / 1.072 GB, free: 5.953 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.3525, allocations: 0 / 1.072 GB, free: 5.953 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.002e-05/0.3525, allocations: 0 / 1.072 GB, free: 5.953 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.966e-06/0.3525, allocations: 3.938 kB / 1.072 GB, free: 5.949 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.145e-06/0.3525, allocations: 7.938 kB / 1.072 GB, free: 5.941 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.3525, allocations: 0 / 1.072 GB, free: 5.941 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.3525, allocations: 3.984 kB / 1.072 GB, free: 5.938 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000124/0.3527, allocations: 89.05 kB / 1.072 GB, free: 5.832 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.402e-05/0.3527, allocations: 85.3 kB / 1.072 GB, free: 5.73 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.416e-05/0.3527, allocations: 3.938 kB / 1.072 GB, free: 5.727 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.961e-05/0.3527, allocations: 0 / 1.072 GB, free: 5.727 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.236e-05/0.3528, allocations: 7.969 kB / 1.072 GB, free: 5.719 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.568e-06/0.3528, allocations: 4 kB / 1.072 GB, free: 5.715 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 3.552e-05/0.3528, allocations: 83.28 kB / 1.072 GB, free: 5.633 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3528, allocations: 4 kB / 1.072 GB, free: 5.629 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002521/0.3531, allocations: 35.98 kB / 1.073 GB, free: 5.594 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,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.0003068/0.3534, allocations: 163.3 kB / 1.073 GB, free: 5.441 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001109/0.3535, allocations: 31.92 kB / 1.073 GB, free: 5.41 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.3535, allocations: 192 / 1.073 GB, free: 5.41 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 4.693e-05/0.3536, allocations: 19.98 kB / 1.073 GB, free: 5.391 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001336/0.3537, allocations: 1.891 kB / 1.073 GB, free: 5.391 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002235/0.354, allocations: 112.9 kB / 1.073 GB, free: 5.254 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002363/0.3542, allocations: 0.6807 MB / 1.074 GB, free: 4.547 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 1.727e-05/0.3542, allocations: 0 / 1.074 GB, free: 4.547 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.871e-05/0.3542, allocations: 15.44 kB / 1.074 GB, free: 4.531 MB / 0.8262 GB Notification: Performance of SimCode: time 8.21e-07/0.3543, allocations: 7.938 kB / 1.074 GB, free: 4.523 MB / 0.8262 GB Notification: Performance of Templates: time 0.003263/0.3575, allocations: 1.087 MB / 1.075 GB, free: 3.438 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.makefile (rm -f Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.pipe ; mkfifo Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.pipe >> ../files/Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.sim & ./Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_BaseClasses_Validation_Weibull1DOFF.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches