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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.0009216/0.0009213, allocations: 91.22 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.009119/0.009119, allocations: 171.2 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.252/1.252, allocations: 223.3 MB / 240.3 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.083/2.083, allocations: 390.9 MB / 0.6664 GB, free: 2.363 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003062/0.0003062, allocations: 8 kB / 0.8161 GB, free: 13.2 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5452/0.5456, allocations: 142.4 MB / 0.9552 GB, free: 7.656 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF): time 0.0009893/0.5466, allocations: 0.9511 MB / 0.9561 GB, free: 6.891 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0006837/0.5473, allocations: 444 kB / 0.9565 GB, free: 6.57 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.932e-05/0.5473, allocations: 0 / 0.9565 GB, free: 6.57 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.553e-05/0.5474, allocations: 3.984 kB / 0.9565 GB, free: 6.566 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 2.82e-05/0.5474, allocations: 3.938 kB / 0.9565 GB, free: 6.562 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004265/0.5478, allocations: 92.97 kB / 0.9566 GB, free: 6.5 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 4.393e-05/0.5479, allocations: 21.33 kB / 0.9566 GB, free: 6.488 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.717e-05/0.5479, allocations: 2.531 kB / 0.9566 GB, free: 6.488 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 1.953e-05/0.5479, allocations: 8.594 kB / 0.9566 GB, free: 6.484 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 2.424e-05/0.548, allocations: 10.36 kB / 0.9566 GB, free: 6.477 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.133e-05/0.548, allocations: 5.281 kB / 0.9567 GB, free: 6.473 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001788/0.5482, allocations: 98.19 kB / 0.9567 GB, free: 6.422 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.4e-05/0.5482, allocations: 13.5 kB / 0.9568 GB, free: 6.41 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.741e-05/0.5482, allocations: 34.02 kB / 0.9568 GB, free: 6.375 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001482/0.5484, allocations: 104.5 kB / 0.9569 GB, free: 6.312 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.996e-06/0.5484, allocations: 4 kB / 0.9569 GB, free: 6.309 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.663e-06/0.5484, allocations: 0 / 0.9569 GB, free: 6.309 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.045e-06/0.5484, allocations: 3.938 kB / 0.9569 GB, free: 6.305 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.000287/0.5487, allocations: 377.6 kB / 0.9573 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.18e-05/0.5487, allocations: 8.875 kB / 0.9573 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.023e-05/0.5488, allocations: 32.06 kB / 0.9573 GB, free: 5.855 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.167e-05/0.5488, allocations: 11.67 kB / 0.9573 GB, free: 5.848 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.123e-05/0.5489, allocations: 165.8 kB / 0.9575 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.393e-05/0.5489, allocations: 5.625 kB / 0.9575 GB, free: 5.645 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.078e-05/0.5489, allocations: 3.031 kB / 0.9575 GB, free: 5.645 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.859e-05/0.549, allocations: 44.73 kB / 0.9575 GB, free: 5.602 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.372e-06/0.549, allocations: 3.938 kB / 0.9575 GB, free: 5.598 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.582e-06/0.549, allocations: 0 / 0.9575 GB, free: 5.598 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.396e-06/0.549, allocations: 1.406 kB / 0.9575 GB, free: 5.598 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.709e-05/0.549, allocations: 7.656 kB / 0.9575 GB, free: 5.594 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002073/0.5493, allocations: 258.2 kB / 0.9578 GB, free: 5.305 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 6.957e-05/0.5493, allocations: 33.2 kB / 0.9578 GB, free: 5.273 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.948e-05/0.5494, allocations: 20.81 kB / 0.9578 GB, free: 5.258 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 8.225e-06/0.5494, allocations: 1.281 kB / 0.9578 GB, free: 5.258 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001006/0.5495, allocations: 56.84 kB / 0.9579 GB, free: 5.199 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=5): time 1.192e-06/0.5495, allocations: 4 kB / 0.9579 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of matching and sorting (n=5): time 0.0001583/0.5497, allocations: 78.98 kB / 0.958 GB, free: 5.141 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.909e-05/0.5497, allocations: 52.81 kB / 0.958 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.346e-05/0.5497, allocations: 109.1 kB / 0.9581 GB, free: 4.969 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.823e-06/0.5497, allocations: 26.83 kB / 0.9581 GB, free: 4.938 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.696e-05/0.5498, allocations: 85.2 kB / 0.9582 GB, free: 4.852 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.274e-05/0.5498, allocations: 13.8 kB / 0.9582 GB, free: 4.84 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.965e-05/0.5498, allocations: 16.62 kB / 0.9583 GB, free: 4.82 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.312e-05/0.5498, allocations: 311.8 kB / 0.9586 GB, free: 4.508 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.823e-05/0.5499, allocations: 17.77 kB / 0.9586 GB, free: 4.496 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.57e-05/0.5499, allocations: 34.81 kB / 0.9586 GB, free: 4.457 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.525e-05/0.5499, allocations: 47.58 kB / 0.9586 GB, free: 4.414 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.55, allocations: 3.938 kB / 0.9587 GB, free: 4.41 MB / 0.7169 GB Notification: Performance of matching and sorting (n=8) (initialization): time 7.973e-05/0.55, allocations: 78.03 kB / 0.9587 GB, free: 4.352 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 9.418e-06/0.5501, allocations: 6.094 kB / 0.9587 GB, free: 4.352 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.607e-06/0.5501, allocations: 1.562 kB / 0.9587 GB, free: 4.352 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.018e-05/0.5501, allocations: 5.578 kB / 0.9587 GB, free: 4.348 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.695e-05/0.5501, allocations: 11.36 kB / 0.9587 GB, free: 4.344 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.459e-06/0.5501, allocations: 1.438 kB / 0.9587 GB, free: 4.344 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.224e-05/0.5502, allocations: 9.625 kB / 0.9588 GB, free: 4.336 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.522e-06/0.5502, allocations: 3.062 kB / 0.9588 GB, free: 4.336 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.243e-05/0.5502, allocations: 115.6 kB / 0.9589 GB, free: 4.215 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.787e-06/0.5502, allocations: 10.41 kB / 0.9589 GB, free: 4.207 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.711e-05/0.5503, allocations: 12.89 kB / 0.9589 GB, free: 4.191 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.644e-06/0.5503, allocations: 1.469 kB / 0.9589 GB, free: 4.191 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.565e-06/0.5503, allocations: 0 / 0.9589 GB, free: 4.191 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.194e-06/0.5503, allocations: 0 / 0.9589 GB, free: 4.191 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001522/0.5504, allocations: 303.5 kB / 0.9592 GB, free: 3.867 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.5504, allocations: 0 / 0.9592 GB, free: 3.867 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.465e-05/0.5505, allocations: 3.625 kB / 0.9592 GB, free: 3.867 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.5505, allocations: 0 / 0.9592 GB, free: 3.867 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.961e-06/0.5505, allocations: 13.69 kB / 0.9592 GB, free: 3.855 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.5505, allocations: 0 / 0.9592 GB, free: 3.855 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.5505, allocations: 0 / 0.9592 GB, free: 3.855 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.2e-05/0.5506, allocations: 164.6 kB / 0.9594 GB, free: 3.703 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.469e-05/0.5506, allocations: 82.86 kB / 0.9594 GB, free: 3.605 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.778e-06/0.5506, allocations: 0 / 0.9594 GB, free: 3.605 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.441e-05/0.5507, allocations: 0 / 0.9594 GB, free: 3.605 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.697e-05/0.5507, allocations: 6.125 kB / 0.9594 GB, free: 3.602 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.239e-06/0.5507, allocations: 9.766 kB / 0.9595 GB, free: 3.594 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.887e-05/0.5507, allocations: 84.72 kB / 0.9595 GB, free: 3.516 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.5507, allocations: 0 / 0.9595 GB, free: 3.516 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002405/0.551, allocations: 39.8 kB / 0.9596 GB, free: 3.5 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.000443/0.5514, allocations: 0.77 MB / 0.9603 GB, free: 2.789 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 8.486e-05/0.5515, allocations: 32.45 kB / 0.9604 GB, free: 2.777 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.272e-06/0.5515, allocations: 0 / 0.9604 GB, free: 2.777 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 3.135e-05/0.5516, allocations: 14.44 kB / 0.9604 GB, free: 2.773 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001793/0.5517, allocations: 4.172 kB / 0.9604 GB, free: 2.773 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006521/0.5524, allocations: 1.292 MB / 0.9616 GB, free: 1.48 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.99e-05/0.5525, allocations: 0.6838 MB / 0.9623 GB, free: 0.7773 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 1.48e-05/0.5525, allocations: 2.719 kB / 0.9623 GB, free: 0.7773 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.968e-05/0.5525, allocations: 12.81 kB / 0.9623 GB, free: 0.7656 MB / 0.7169 GB Notification: Performance of SimCode: time 2.31e-07/0.5525, allocations: 5.281 kB / 0.9623 GB, free: 0.7617 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4728/1.025, allocations: 1.855 MB / 0.9641 GB, free: 15.86 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002482/1.026, allocations: 248.7 kB / 0.9644 GB, free: 15.6 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.713/2.739, allocations: 0 / 0.9644 GB, free: 15.6 MB / 0.7325 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