Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.Weibull1DON,fileNamePrefix="Buildings_9_Buildings_Occupants_BaseClasses_Validation_Weibull1DON",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.Weibull1DON,fileNamePrefix="Buildings_9_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.0008745/0.0008746, allocations: 89.97 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.00632/0.00632, allocations: 176.2 kB / 16.27 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.237/1.237, allocations: 223.3 MB / 240.3 MB, free: 5.34 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.077/2.077, allocations: 390.9 MB / 0.6664 GB, free: 2.387 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.000305/0.000305, allocations: 8 kB / 0.8161 GB, free: 13.15 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5454/0.5457, allocations: 142.4 MB / 0.9551 GB, free: 7.762 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Weibull1DON): time 0.0008799/0.5467, allocations: 0.9588 MB / 0.9561 GB, free: 6.988 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.000613/0.5473, allocations: 443.1 kB / 0.9565 GB, free: 6.668 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.686e-05/0.5473, allocations: 0 / 0.9565 GB, free: 6.668 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.352e-05/0.5473, allocations: 5.062 kB / 0.9565 GB, free: 6.664 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 2.904e-05/0.5474, allocations: 0 / 0.9565 GB, free: 6.664 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003572/0.5477, allocations: 100.8 kB / 0.9566 GB, free: 6.594 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 4.303e-05/0.5478, allocations: 16.84 kB / 0.9566 GB, free: 6.586 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.534e-05/0.5478, allocations: 6.234 kB / 0.9566 GB, free: 6.582 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 1.812e-05/0.5478, allocations: 4.469 kB / 0.9566 GB, free: 6.582 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 2.284e-05/0.5479, allocations: 10.36 kB / 0.9566 GB, free: 6.574 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.02e-05/0.5479, allocations: 2.125 kB / 0.9566 GB, free: 6.574 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001658/0.5481, allocations: 102.2 kB / 0.9567 GB, free: 6.52 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.313e-05/0.5481, allocations: 9.094 kB / 0.9568 GB, free: 6.512 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.73e-05/0.5481, allocations: 41.86 kB / 0.9568 GB, free: 6.469 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.000142/0.5483, allocations: 95.47 kB / 0.9569 GB, free: 6.414 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.596e-06/0.5483, allocations: 1.281 kB / 0.9569 GB, free: 6.414 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.022e-06/0.5483, allocations: 0 / 0.9569 GB, free: 6.414 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.056e-06/0.5483, allocations: 0 / 0.9569 GB, free: 6.414 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.0002945/0.5486, allocations: 382.5 kB / 0.9572 GB, free: 6 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.326e-05/0.5486, allocations: 7.594 kB / 0.9573 GB, free: 6 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.046e-05/0.5487, allocations: 39.73 kB / 0.9573 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.127e-05/0.5487, allocations: 11 kB / 0.9573 GB, free: 5.945 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.747e-05/0.5488, allocations: 174.5 kB / 0.9575 GB, free: 5.738 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.394e-05/0.5488, allocations: 1.562 kB / 0.9575 GB, free: 5.738 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.159e-05/0.5488, allocations: 7.422 kB / 0.9575 GB, free: 5.734 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.036e-05/0.5489, allocations: 44.89 kB / 0.9575 GB, free: 5.691 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.272e-06/0.5489, allocations: 3.938 kB / 0.9575 GB, free: 5.688 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.555e-06/0.5489, allocations: 1.094 kB / 0.9575 GB, free: 5.688 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.557e-06/0.5489, allocations: 0 / 0.9575 GB, free: 5.688 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.655e-05/0.5489, allocations: 4.625 kB / 0.9575 GB, free: 5.688 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002154/0.5492, allocations: 253.5 kB / 0.9578 GB, free: 5.402 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 7.369e-05/0.5492, allocations: 41.22 kB / 0.9578 GB, free: 5.363 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.018e-05/0.5493, allocations: 17.62 kB / 0.9578 GB, free: 5.352 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 7.854e-06/0.5493, allocations: 0 / 0.9578 GB, free: 5.352 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001101/0.5494, allocations: 61.97 kB / 0.9579 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=5): time 9.81e-07/0.5494, allocations: 0 / 0.9579 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of matching and sorting (n=5): time 0.0001672/0.5496, allocations: 77.64 kB / 0.958 GB, free: 5.234 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.174e-05/0.5496, allocations: 53.72 kB / 0.958 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.412e-05/0.5497, allocations: 105.1 kB / 0.9581 GB, free: 5.066 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.815e-06/0.5497, allocations: 31.05 kB / 0.9581 GB, free: 5.031 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.882e-05/0.5497, allocations: 81.83 kB / 0.9582 GB, free: 4.949 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.217e-05/0.5497, allocations: 13.22 kB / 0.9582 GB, free: 4.938 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.018e-05/0.5497, allocations: 16.39 kB / 0.9583 GB, free: 4.918 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.568e-05/0.5498, allocations: 320.2 kB / 0.9586 GB, free: 4.598 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.717e-05/0.5498, allocations: 5.625 kB / 0.9586 GB, free: 4.598 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.584e-05/0.5498, allocations: 34.39 kB / 0.9586 GB, free: 4.559 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.229e-05/0.5499, allocations: 50.2 kB / 0.9586 GB, free: 4.512 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.5499, allocations: 9.719 kB / 0.9587 GB, free: 4.504 MB / 0.7169 GB Notification: Performance of matching and sorting (n=8) (initialization): time 7.887e-05/0.55, allocations: 73.88 kB / 0.9587 GB, free: 4.449 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.021e-05/0.55, allocations: 9.219 kB / 0.9587 GB, free: 4.445 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.857e-06/0.55, allocations: 1.031 kB / 0.9587 GB, free: 4.445 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.977e-06/0.55, allocations: 1.312 kB / 0.9587 GB, free: 4.445 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.805e-05/0.5501, allocations: 12.45 kB / 0.9587 GB, free: 4.441 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.24e-06/0.5501, allocations: 1.531 kB / 0.9587 GB, free: 4.441 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.129e-05/0.5501, allocations: 5.469 kB / 0.9588 GB, free: 4.438 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.602e-06/0.5501, allocations: 3.281 kB / 0.9588 GB, free: 4.438 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.249e-05/0.5502, allocations: 124.8 kB / 0.9589 GB, free: 4.309 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.047e-06/0.5502, allocations: 9.328 kB / 0.9589 GB, free: 4.301 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.655e-05/0.5502, allocations: 5.375 kB / 0.9589 GB, free: 4.293 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.142e-06/0.5502, allocations: 0 / 0.9589 GB, free: 4.293 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.705e-06/0.5502, allocations: 0 / 0.9589 GB, free: 4.293 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.5502, allocations: 5.641 kB / 0.9589 GB, free: 4.289 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001576/0.5504, allocations: 303.1 kB / 0.9592 GB, free: 3.965 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.5504, allocations: 4 kB / 0.9592 GB, free: 3.961 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.591e-05/0.5504, allocations: 11.39 kB / 0.9592 GB, free: 3.953 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.373e-06/0.5504, allocations: 0 / 0.9592 GB, free: 3.953 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.833e-06/0.5504, allocations: 1.188 kB / 0.9592 GB, free: 3.953 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.5504, allocations: 0 / 0.9592 GB, free: 3.953 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.5504, allocations: 5.094 kB / 0.9592 GB, free: 3.949 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.646e-05/0.5505, allocations: 163.2 kB / 0.9594 GB, free: 3.797 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.495e-05/0.5506, allocations: 86.44 kB / 0.9594 GB, free: 3.695 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.022e-05/0.5506, allocations: 1.562 kB / 0.9594 GB, free: 3.695 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.506e-05/0.5506, allocations: 4 kB / 0.9594 GB, free: 3.691 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.921e-05/0.5506, allocations: 2.094 kB / 0.9594 GB, free: 3.691 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.931e-06/0.5507, allocations: 2.281 kB / 0.9595 GB, free: 3.691 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.091e-05/0.5507, allocations: 87.7 kB / 0.9595 GB, free: 3.609 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.5507, allocations: 0 / 0.9595 GB, free: 3.609 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002384/0.5509, allocations: 32.53 kB / 0.9596 GB, free: 3.602 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.0004416/0.5514, allocations: 0.7788 MB / 0.9603 GB, free: 2.883 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 8.405e-05/0.5515, allocations: 36.08 kB / 0.9604 GB, free: 2.867 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.462e-06/0.5515, allocations: 1.375 kB / 0.9604 GB, free: 2.867 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 3.073e-05/0.5515, allocations: 9.625 kB / 0.9604 GB, free: 2.867 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001795/0.5517, allocations: 5.375 kB / 0.9604 GB, free: 2.863 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006464/0.5523, allocations: 1.285 MB / 0.9616 GB, free: 1.578 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.453e-05/0.5524, allocations: 0.6798 MB / 0.9623 GB, free: 0.8789 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 1.51e-05/0.5525, allocations: 10.69 kB / 0.9623 GB, free: 0.8711 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.987e-05/0.5525, allocations: 14.19 kB / 0.9623 GB, free: 0.8594 MB / 0.7169 GB Notification: Performance of SimCode: time 2.2e-07/0.5525, allocations: 0 / 0.9623 GB, free: 0.8594 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4962/1.049, allocations: 1.858 MB / 0.9641 GB, free: 15.95 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002029/1.049, allocations: 245.1 kB / 0.9644 GB, free: 15.7 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.731/2.78, allocations: 1.406 kB / 0.9644 GB, free: 15.7 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.pipe ; mkfifo Buildings_9_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.pipe >> ../files/Buildings_9_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Occupants.BaseClasses.Validation.Weibull1DON_res.mat --tempDir=temp_Buildings_9_Buildings_Occupants_BaseClasses_Validation_Weibull1DON_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Occupants_BaseClasses_Validation_Weibull1DON.fmu > Buildings_9_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.BaseClasses.Validation.Weibull1DON_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_BaseClasses_Validation_Weibull1DON.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_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