Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.Weibull1DON,fileNamePrefix="Buildings_10_Buildings_Occupants_BaseClasses_Validation_Weibull1DON",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.Weibull1DON,fileNamePrefix="Buildings_10_Buildings_Occupants_BaseClasses_Validation_Weibull1DON",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.001437/0.001437, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001603/0.001603, allocations: 192.8 kB / 16.25 MB, free: 6.637 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.347/1.347, allocations: 222.9 MB / 239.9 MB, free: 4.539 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.559/2.559, allocations: 437 MB / 0.7101 GB, free: 5.297 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001155/0.001155, allocations: 59.91 kB / 0.8688 GB, free: 4.973 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7294/0.7306, allocations: 151.6 MB / 1.017 GB, free: 2.703 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Weibull1DON): time 0.001901/0.7325, allocations: 1.293 MB / 1.018 GB, free: 1.402 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0006558/0.7332, allocations: 442.6 kB / 1.019 GB, free: 0.9688 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.141e-05/0.7332, allocations: 0 / 1.019 GB, free: 0.9688 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 8.706e-06/0.7332, allocations: 0 / 1.019 GB, free: 0.9688 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 1.939e-05/0.7333, allocations: 0 / 1.019 GB, free: 0.9688 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003085/0.7336, allocations: 99.72 kB / 1.019 GB, free: 0.8711 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 3.372e-05/0.7336, allocations: 19.98 kB / 1.019 GB, free: 0.8516 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 1.859e-05/0.7337, allocations: 3.938 kB / 1.019 GB, free: 0.8477 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 1.295e-05/0.7337, allocations: 8 kB / 1.019 GB, free: 0.8398 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 1.741e-05/0.7337, allocations: 15.92 kB / 1.019 GB, free: 0.8242 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 6.612e-06/0.7337, allocations: 0 / 1.019 GB, free: 0.8242 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001498/0.7339, allocations: 111.8 kB / 1.019 GB, free: 0.7148 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 9.077e-06/0.7339, allocations: 3.984 kB / 1.019 GB, free: 0.7109 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.021e-05/0.7339, allocations: 15.92 kB / 1.019 GB, free: 0.6953 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001242/0.734, allocations: 95.81 kB / 1.019 GB, free: 0.6016 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 1.673e-06/0.734, allocations: 0 / 1.019 GB, free: 0.6016 MB / 0.7637 GB Notification: Performance of FrontEnd: time 6.31e-07/0.734, allocations: 0 / 1.019 GB, free: 0.6016 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 2.765e-06/0.7341, allocations: 0 / 1.019 GB, free: 0.6016 MB / 0.7637 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.0003012/0.7344, allocations: 388.6 kB / 1.019 GB, free: 172 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 2.253e-05/0.7344, allocations: 12.03 kB / 1.019 GB, free: 160 kB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.243e-05/0.7344, allocations: 42.64 kB / 1.019 GB, free: 108 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.694e-05/0.7344, allocations: 4.938 kB / 1.019 GB, free: 104 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.454e-05/0.7345, allocations: 168.3 kB / 1.02 GB, free: 15.9 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.075e-05/0.7346, allocations: 384 / 1.02 GB, free: 15.9 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.323e-06/0.7346, allocations: 8.312 kB / 1.02 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.033e-05/0.7346, allocations: 46.23 kB / 1.02 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.025e-06/0.7347, allocations: 3.938 kB / 1.02 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.909e-06/0.7347, allocations: 0 / 1.02 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.116e-06/0.7347, allocations: 7.984 kB / 1.02 GB, free: 15.83 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.482e-05/0.7347, allocations: 4 kB / 1.02 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002151/0.7349, allocations: 252.8 kB / 1.02 GB, free: 15.53 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 6.842e-05/0.735, allocations: 38.5 kB / 1.02 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.183e-05/0.735, allocations: 20.94 kB / 1.02 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 5.07e-06/0.7351, allocations: 0 / 1.02 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.892e-05/0.7352, allocations: 63.41 kB / 1.02 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=5): time 1.112e-06/0.7352, allocations: 0 / 1.02 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of matching and sorting (n=5): time 0.000146/0.7353, allocations: 73.61 kB / 1.02 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.777e-05/0.7354, allocations: 55.41 kB / 1.02 GB, free: 15.24 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.337e-05/0.7354, allocations: 105.8 kB / 1.02 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.202e-05/0.7354, allocations: 25.7 kB / 1.02 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.131e-05/0.7355, allocations: 92.14 kB / 1.02 GB, free: 15 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.232e-05/0.7355, allocations: 7.812 kB / 1.02 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.288e-05/0.7355, allocations: 25.7 kB / 1.02 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.623e-05/0.7356, allocations: 314.8 kB / 1.021 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.584e-05/0.7356, allocations: 4 kB / 1.021 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.23e-05/0.7357, allocations: 39.41 kB / 1.021 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.418e-05/0.7357, allocations: 55.36 kB / 1.021 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.275e-06/0.7357, allocations: 3.938 kB / 1.021 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of matching and sorting (n=8) (initialization): time 9.088e-05/0.7358, allocations: 73.56 kB / 1.021 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.014e-05/0.7358, allocations: 8 kB / 1.021 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.254e-06/0.7359, allocations: 0 / 1.021 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.63e-06/0.7359, allocations: 0 / 1.021 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.219e-05/0.7359, allocations: 11.98 kB / 1.021 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.009e-06/0.7359, allocations: 8.062 kB / 1.021 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.355e-05/0.736, allocations: 11.78 kB / 1.021 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.921e-06/0.736, allocations: 4 kB / 1.021 GB, free: 14.4 MB / 0.7794 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 6.436e-05/0.736, allocations: 118.3 kB / 1.021 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.878e-06/0.736, allocations: 0 / 1.021 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.727e-05/0.7361, allocations: 3.969 kB / 1.021 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.202e-06/0.7361, allocations: 3.938 kB / 1.021 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.754e-06/0.7361, allocations: 4 kB / 1.021 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.7361, allocations: 3.984 kB / 1.021 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002141/0.7363, allocations: 310.5 kB / 1.021 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.7363, allocations: 0.5625 kB / 1.021 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.669e-05/0.7363, allocations: 8.078 kB / 1.021 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.7363, allocations: 3.984 kB / 1.021 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.304e-06/0.7364, allocations: 4 kB / 1.021 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.7364, allocations: 0 / 1.021 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.7364, allocations: 0 / 1.021 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001292/0.7365, allocations: 167.3 kB / 1.021 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.739e-05/0.7365, allocations: 89.09 kB / 1.022 GB, free: 13.6 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.022e-05/0.7366, allocations: 0 / 1.022 GB, free: 13.6 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.656e-05/0.7366, allocations: 0 / 1.022 GB, free: 13.6 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.234e-05/0.7366, allocations: 4 kB / 1.022 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.879e-06/0.7366, allocations: 0 / 1.022 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.558e-05/0.7367, allocations: 87.27 kB / 1.022 GB, free: 13.51 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1e-07/0.7367, allocations: 0 / 1.022 GB, free: 13.51 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002452/0.7369, allocations: 31.94 kB / 1.022 GB, free: 13.48 MB / 0.7794 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.000568/0.7375, allocations: 0.7755 MB / 1.022 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 8.848e-05/0.7376, allocations: 36.23 kB / 1.022 GB, free: 12.65 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/0.7376, allocations: 4.125 kB / 1.022 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 3.163e-05/0.7377, allocations: 11.94 kB / 1.022 GB, free: 12.63 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001915/0.7379, allocations: 11.94 kB / 1.022 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009281/0.7388, allocations: 1.29 MB / 1.024 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002074/0.739, allocations: 0.6807 MB / 1.024 GB, free: 10.53 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 1.489e-05/0.739, allocations: 0 / 1.024 GB, free: 10.53 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.855e-05/0.7391, allocations: 15.44 kB / 1.024 GB, free: 10.51 MB / 0.7794 GB Notification: Performance of SimCode: time 2.7e-07/0.7391, allocations: 3.938 kB / 1.024 GB, free: 10.51 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.142/2.881, allocations: 1.999 MB / 1.026 GB, free: 8.637 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002998/2.881, allocations: 253 kB / 1.027 GB, free: 8.375 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.381/5.262, allocations: 0 / 1.027 GB, free: 8.375 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.pipe ; mkfifo Buildings_10_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.pipe >> ../files/Buildings_10_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Occupants.BaseClasses.Validation.Weibull1DON_res.mat --tempDir=temp_Buildings_10_Buildings_Occupants_BaseClasses_Validation_Weibull1DON_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Occupants_BaseClasses_Validation_Weibull1DON.fmu > Buildings_10_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.BaseClasses.Validation.Weibull1DON_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_BaseClasses_Validation_Weibull1DON.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,y Variables in the result:L,dt,k,seed,time,u,x,y