Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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: translateModel(Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_9_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF") translateModel(Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_9_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.001099/0.0011, allocations: 91.14 kB / 15.36 MB, free: 0.7383 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.008075/0.008075, allocations: 172.9 kB / 16.26 MB, free: 6.613 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.39/1.39, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.381/2.381, allocations: 390.9 MB / 0.6663 GB, free: 2.449 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.000384/0.0003842, allocations: 8 kB / 0.8159 GB, free: 13.27 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7179/0.7183, allocations: 142.4 MB / 0.955 GB, free: 7.676 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF): time 0.00139/0.7197, allocations: 0.9583 MB / 0.956 GB, free: 6.902 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001187/0.7209, allocations: 435.8 kB / 0.9564 GB, free: 6.59 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.83e-05/0.721, allocations: 0 / 0.9564 GB, free: 6.59 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.248e-05/0.721, allocations: 5.031 kB / 0.9564 GB, free: 6.586 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 3.731e-05/0.7211, allocations: 3.938 kB / 0.9564 GB, free: 6.582 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004979/0.7216, allocations: 96.14 kB / 0.9565 GB, free: 6.516 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.597e-05/0.7217, allocations: 17.78 kB / 0.9565 GB, free: 6.508 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.593e-05/0.7217, allocations: 6.297 kB / 0.9565 GB, free: 6.504 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 2.465e-05/0.7217, allocations: 16.39 kB / 0.9565 GB, free: 6.492 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 2.732e-05/0.7218, allocations: 6.734 kB / 0.9565 GB, free: 6.488 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.301e-05/0.7218, allocations: 1.125 kB / 0.9565 GB, free: 6.488 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002181/0.722, allocations: 98.44 kB / 0.9566 GB, free: 6.438 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.037e-05/0.722, allocations: 10.45 kB / 0.9566 GB, free: 6.43 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.185e-05/0.7221, allocations: 32.36 kB / 0.9567 GB, free: 6.395 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001797/0.7223, allocations: 108.1 kB / 0.9568 GB, free: 6.328 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.695e-06/0.7223, allocations: 4 kB / 0.9568 GB, free: 6.324 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.372e-06/0.7223, allocations: 1.094 kB / 0.9568 GB, free: 6.324 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.947e-06/0.7223, allocations: 0 / 0.9568 GB, free: 6.324 MB / 0.7169 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.0003785/0.7227, allocations: 372.3 kB / 0.9571 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.706e-05/0.7227, allocations: 13.61 kB / 0.9571 GB, free: 5.914 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.141e-05/0.7228, allocations: 3.156 kB / 0.9571 GB, free: 5.914 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.998e-05/0.7228, allocations: 169.5 kB / 0.9573 GB, free: 5.711 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.241e-05/0.7229, allocations: 2.5 kB / 0.9573 GB, free: 5.711 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.558e-05/0.7229, allocations: 2.594 kB / 0.9573 GB, free: 5.711 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.834e-05/0.723, allocations: 43.69 kB / 0.9574 GB, free: 5.668 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.927e-06/0.723, allocations: 192 / 0.9574 GB, free: 5.668 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.164e-05/0.723, allocations: 3.938 kB / 0.9574 GB, free: 5.664 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.178e-06/0.723, allocations: 1.062 kB / 0.9574 GB, free: 5.664 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.148e-05/0.7231, allocations: 11.7 kB / 0.9574 GB, free: 5.656 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001101/0.7232, allocations: 153.9 kB / 0.9575 GB, free: 5.461 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 7.703e-05/0.7233, allocations: 30.77 kB / 0.9575 GB, free: 5.43 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.198e-05/0.7233, allocations: 18.61 kB / 0.9576 GB, free: 5.414 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.091e-05/0.7233, allocations: 0 / 0.9576 GB, free: 5.414 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001349/0.7235, allocations: 64.62 kB / 0.9576 GB, free: 5.348 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 1.112e-06/0.7235, allocations: 0 / 0.9576 GB, free: 5.348 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.0001987/0.7237, allocations: 66.25 kB / 0.9577 GB, free: 5.301 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.575e-05/0.7237, allocations: 57.55 kB / 0.9577 GB, free: 5.234 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.709e-05/0.7238, allocations: 104.3 kB / 0.9578 GB, free: 5.129 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.358e-06/0.7238, allocations: 34.86 kB / 0.9579 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.45e-05/0.7238, allocations: 85.25 kB / 0.958 GB, free: 5.004 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.803e-05/0.7239, allocations: 10 kB / 0.958 GB, free: 4.996 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.109e-05/0.7239, allocations: 12.16 kB / 0.958 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.497e-05/0.7239, allocations: 320 kB / 0.9583 GB, free: 4.66 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.055e-05/0.724, allocations: 8.578 kB / 0.9583 GB, free: 4.656 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.86e-05/0.724, allocations: 35.25 kB / 0.9583 GB, free: 4.617 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.406e-05/0.7241, allocations: 47.55 kB / 0.9584 GB, free: 4.57 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.7241, allocations: 4.969 kB / 0.9584 GB, free: 4.566 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7) (initialization): time 9.43e-05/0.7242, allocations: 68.5 kB / 0.9584 GB, free: 4.516 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.584e-05/0.7242, allocations: 9.781 kB / 0.9584 GB, free: 4.512 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.7242, allocations: 1.156 kB / 0.9585 GB, free: 4.512 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.295e-05/0.7242, allocations: 5.094 kB / 0.9585 GB, free: 4.508 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.811e-05/0.7243, allocations: 10.95 kB / 0.9585 GB, free: 4.504 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.18e-06/0.7243, allocations: 1.438 kB / 0.9585 GB, free: 4.504 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.584e-05/0.7243, allocations: 5.281 kB / 0.9585 GB, free: 4.5 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.486e-06/0.7243, allocations: 2.281 kB / 0.9585 GB, free: 4.5 MB / 0.7169 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 5.356e-05/0.7244, allocations: 116.2 kB / 0.9586 GB, free: 4.379 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.006e-05/0.7244, allocations: 7.906 kB / 0.9586 GB, free: 4.375 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.962e-05/0.7244, allocations: 3.906 kB / 0.9586 GB, free: 4.363 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.704e-06/0.7244, allocations: 4 kB / 0.9586 GB, free: 4.359 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.7245, allocations: 0 / 0.9586 GB, free: 4.359 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.7245, allocations: 1.312 kB / 0.9586 GB, free: 4.359 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.885e-05/0.7245, allocations: 162.7 kB / 0.9588 GB, free: 4.156 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-06/0.7246, allocations: 256 / 0.9588 GB, free: 4.156 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.272e-05/0.7246, allocations: 5.281 kB / 0.9588 GB, free: 4.152 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.387e-06/0.7246, allocations: 5.281 kB / 0.9588 GB, free: 4.148 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.153e-06/0.7246, allocations: 0 / 0.9588 GB, free: 4.148 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.7246, allocations: 4.75 kB / 0.9588 GB, free: 4.145 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.7246, allocations: 1.281 kB / 0.9588 GB, free: 4.145 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001137/0.7247, allocations: 86.95 kB / 0.9589 GB, free: 4.062 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.849e-05/0.7247, allocations: 82.14 kB / 0.9589 GB, free: 3.965 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.49e-05/0.7248, allocations: 4.969 kB / 0.9589 GB, free: 3.961 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.206e-05/0.7248, allocations: 4 kB / 0.9589 GB, free: 3.957 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.427e-05/0.7248, allocations: 9.953 kB / 0.959 GB, free: 3.949 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.031e-06/0.7248, allocations: 1.156 kB / 0.959 GB, free: 3.949 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.586e-05/0.7249, allocations: 79.53 kB / 0.959 GB, free: 3.875 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7249, allocations: 1.188 kB / 0.959 GB, free: 3.875 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002587/0.7251, allocations: 38.95 kB / 0.9591 GB, free: 3.859 MB / 0.7169 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.0003038/0.7254, allocations: 163.2 kB / 0.9592 GB, free: 3.746 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001071/0.7256, allocations: 32.73 kB / 0.9593 GB, free: 3.73 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.522e-06/0.7256, allocations: 1.125 kB / 0.9593 GB, free: 3.73 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 3.213e-05/0.7256, allocations: 8.562 kB / 0.9593 GB, free: 3.73 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001388/0.7258, allocations: 15 kB / 0.9593 GB, free: 3.719 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002102/0.726, allocations: 108.6 kB / 0.9594 GB, free: 3.602 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.937e-05/0.7261, allocations: 0.6825 MB / 0.96 GB, free: 2.898 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 1.871e-05/0.7261, allocations: 3.031 kB / 0.9601 GB, free: 2.898 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.403e-05/0.7261, allocations: 9.562 kB / 0.9601 GB, free: 2.891 MB / 0.7169 GB Notification: Performance of SimCode: time 2.4e-07/0.7261, allocations: 0 / 0.9601 GB, free: 2.891 MB / 0.7169 GB Notification: Performance of Templates: time 0.003168/0.7293, allocations: 1.062 MB / 0.9611 GB, free: 2.336 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.makefile (rm -f Buildings_9_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.pipe ; mkfifo Buildings_9_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.pipe >> ../files/Buildings_9_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.sim & ./Buildings_9_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_BaseClasses_Validation_Weibull1DOFF.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches