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: "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF,fileNamePrefix="Buildings_9_Buildings_Occupants_BaseClasses_Validation_Weibull1DOFF",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF,fileNamePrefix="Buildings_9_Buildings_Occupants_BaseClasses_Validation_Weibull1DOFF",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.001169/0.001169, allocations: 108 kB / 15.6 MB, free: 132 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.0009558/0.0009557, allocations: 194.7 kB / 16.53 MB, free: 6.391 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.212/1.212, allocations: 222.9 MB / 240.2 MB, free: 4.418 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.124/2.124, allocations: 390.2 MB / 0.6647 GB, free: 416 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00113/0.00113, allocations: 63.91 kB / 0.8126 GB, free: 14.38 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5081/0.5093, allocations: 140.4 MB / 0.9497 GB, free: 9.062 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF): time 0.001776/0.5111, allocations: 1.224 MB / 0.9509 GB, free: 8.086 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0006053/0.5117, allocations: 444.1 kB / 0.9513 GB, free: 7.758 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.961e-05/0.5117, allocations: 0 / 0.9513 GB, free: 7.758 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.538e-05/0.5117, allocations: 0 / 0.9513 GB, free: 7.758 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 2.805e-05/0.5118, allocations: 5.156 kB / 0.9513 GB, free: 7.754 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000399/0.5122, allocations: 114.9 kB / 0.9514 GB, free: 7.676 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 4.861e-05/0.5122, allocations: 17.31 kB / 0.9515 GB, free: 7.668 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.706e-05/0.5123, allocations: 5.234 kB / 0.9515 GB, free: 7.664 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 1.78e-05/0.5123, allocations: 17.33 kB / 0.9515 GB, free: 7.652 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 2.347e-05/0.5123, allocations: 14.61 kB / 0.9515 GB, free: 7.641 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.129e-05/0.5124, allocations: 5.25 kB / 0.9515 GB, free: 7.637 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001714/0.5125, allocations: 100.4 kB / 0.9516 GB, free: 7.586 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.381e-05/0.5125, allocations: 5.578 kB / 0.9516 GB, free: 7.582 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.527e-05/0.5126, allocations: 10.47 kB / 0.9516 GB, free: 7.574 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001462/0.5127, allocations: 101.4 kB / 0.9517 GB, free: 7.516 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.816e-06/0.5127, allocations: 0 / 0.9517 GB, free: 7.516 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.002e-06/0.5127, allocations: 0 / 0.9517 GB, free: 7.516 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.784e-06/0.5128, allocations: 0 / 0.9517 GB, free: 7.516 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.0003125/0.5131, allocations: 392.9 kB / 0.9521 GB, free: 7.094 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.555e-05/0.5131, allocations: 9.75 kB / 0.9521 GB, free: 7.094 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.105e-05/0.5132, allocations: 36 kB / 0.9521 GB, free: 7.051 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.219e-05/0.5132, allocations: 2.312 kB / 0.9521 GB, free: 7.051 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.92e-05/0.5132, allocations: 173.8 kB / 0.9523 GB, free: 6.844 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.719e-05/0.5133, allocations: 2 kB / 0.9523 GB, free: 6.844 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.145e-06/0.5133, allocations: 7.125 kB / 0.9523 GB, free: 6.84 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.363e-05/0.5134, allocations: 37.5 kB / 0.9523 GB, free: 6.805 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.392e-06/0.5134, allocations: 7.875 kB / 0.9523 GB, free: 6.797 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.364e-06/0.5134, allocations: 4 kB / 0.9523 GB, free: 6.793 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.867e-06/0.5134, allocations: 1.281 kB / 0.9523 GB, free: 6.793 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.015e-05/0.5134, allocations: 8.016 kB / 0.9524 GB, free: 6.789 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002089/0.5136, allocations: 248.3 kB / 0.9526 GB, free: 6.508 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 7.324e-05/0.5137, allocations: 37.67 kB / 0.9526 GB, free: 6.473 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.09e-05/0.5138, allocations: 20.59 kB / 0.9526 GB, free: 6.457 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 8.426e-06/0.5138, allocations: 5.344 kB / 0.9527 GB, free: 6.453 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.832e-05/0.5139, allocations: 57.23 kB / 0.9527 GB, free: 6.395 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=5): time 1.383e-06/0.5139, allocations: 0 / 0.9527 GB, free: 6.395 MB / 0.7169 GB Notification: Performance of matching and sorting (n=5): time 0.0001694/0.5141, allocations: 74.31 kB / 0.9528 GB, free: 6.344 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.446e-05/0.5141, allocations: 52.53 kB / 0.9528 GB, free: 6.281 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.975e-05/0.5141, allocations: 106.4 kB / 0.9529 GB, free: 6.176 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.482e-06/0.5142, allocations: 29.7 kB / 0.953 GB, free: 6.141 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.718e-05/0.5142, allocations: 89.38 kB / 0.953 GB, free: 6.051 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.235e-05/0.5142, allocations: 14.95 kB / 0.9531 GB, free: 6.039 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.777e-05/0.5142, allocations: 23.03 kB / 0.9531 GB, free: 6.016 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.288e-05/0.5143, allocations: 316.1 kB / 0.9534 GB, free: 5.699 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.879e-05/0.5143, allocations: 9.031 kB / 0.9534 GB, free: 5.695 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.617e-05/0.5143, allocations: 36.23 kB / 0.9534 GB, free: 5.656 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.564e-05/0.5144, allocations: 53.83 kB / 0.9535 GB, free: 5.605 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.5144, allocations: 5.188 kB / 0.9535 GB, free: 5.602 MB / 0.7169 GB Notification: Performance of matching and sorting (n=8) (initialization): time 8.196e-05/0.5145, allocations: 74.36 kB / 0.9536 GB, free: 5.547 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.04e-05/0.5145, allocations: 5.938 kB / 0.9536 GB, free: 5.547 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.697e-06/0.5145, allocations: 0 / 0.9536 GB, free: 5.547 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.145e-05/0.5145, allocations: 6.844 kB / 0.9536 GB, free: 5.543 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.792e-05/0.5145, allocations: 14.53 kB / 0.9536 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.86e-06/0.5146, allocations: 1.25 kB / 0.9536 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.288e-05/0.5146, allocations: 10 kB / 0.9536 GB, free: 5.527 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.154e-06/0.5146, allocations: 2.812 kB / 0.9536 GB, free: 5.527 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 (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 4.326e-05/0.5146, allocations: 120.1 kB / 0.9537 GB, free: 5.402 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.008e-05/0.5147, allocations: 3.031 kB / 0.9537 GB, free: 5.402 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.712e-05/0.5147, allocations: 7.969 kB / 0.9537 GB, free: 5.391 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.193e-06/0.5147, allocations: 1.594 kB / 0.9537 GB, free: 5.391 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.635e-06/0.5147, allocations: 4 kB / 0.9537 GB, free: 5.387 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.5147, allocations: 0 / 0.9537 GB, free: 5.387 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001564/0.5149, allocations: 307.1 kB / 0.954 GB, free: 5.059 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.5149, allocations: 0 / 0.954 GB, free: 5.059 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.548e-05/0.5149, allocations: 2.781 kB / 0.954 GB, free: 5.059 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.412e-06/0.5149, allocations: 1.531 kB / 0.954 GB, free: 5.059 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.512e-06/0.5149, allocations: 1.812 kB / 0.954 GB, free: 5.059 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.5149, allocations: 0 / 0.954 GB, free: 5.059 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.5149, allocations: 0 / 0.954 GB, free: 5.059 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001024/0.515, allocations: 175.5 kB / 0.9542 GB, free: 4.895 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.408e-05/0.515, allocations: 78.83 kB / 0.9543 GB, free: 4.801 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.194e-05/0.5151, allocations: 1.25 kB / 0.9543 GB, free: 4.801 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.823e-05/0.5151, allocations: 0 / 0.9543 GB, free: 4.801 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.775e-05/0.5151, allocations: 5.734 kB / 0.9543 GB, free: 4.797 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.23e-06/0.5151, allocations: 2.406 kB / 0.9543 GB, free: 4.797 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.017e-05/0.5152, allocations: 87.72 kB / 0.9544 GB, free: 4.715 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5152, allocations: 0 / 0.9544 GB, free: 4.715 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002883/0.5155, allocations: 40.27 kB / 0.9544 GB, free: 4.699 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,$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.0004307/0.5159, allocations: 0.7753 MB / 0.9551 GB, free: 3.984 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 9.505e-05/0.516, allocations: 40.67 kB / 0.9552 GB, free: 3.965 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.432e-06/0.516, allocations: 1.25 kB / 0.9552 GB, free: 3.965 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 3.459e-05/0.5161, allocations: 16.95 kB / 0.9552 GB, free: 3.957 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001872/0.5162, allocations: 1.625 kB / 0.9552 GB, free: 3.957 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006485/0.5169, allocations: 1.278 MB / 0.9565 GB, free: 2.684 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.522e-05/0.517, allocations: 0.6824 MB / 0.9571 GB, free: 1.98 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 1.634e-05/0.517, allocations: 6.203 kB / 0.9571 GB, free: 1.977 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.104e-05/0.517, allocations: 13.91 kB / 0.9571 GB, free: 1.965 MB / 0.7169 GB Notification: Performance of SimCode: time 2.21e-07/0.517, allocations: 0 / 0.9571 GB, free: 1.965 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01481/0.5318, allocations: 2.077 MB / 0.9592 GB, free: 0.8164 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.638/8.17, allocations: 1.344 kB / 0.9592 GB, free: 0.8164 MB / 0.7169 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF_res.mat --tempDir=temp_Buildings_9_Buildings_Occupants_BaseClasses_Validation_Weibull1DOFF_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Occupants_BaseClasses_Validation_Weibull1DOFF.fmu > 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches