Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_Buildings_Occupants_BaseClasses_Validation_Weibull1DON",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.Weibull1DON,fileNamePrefix="Buildings_latest_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.005138/0.005138, allocations: 102.6 kB / 15.73 MB, free: 5.992 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.001251/0.001251, allocations: 193.5 kB / 16.67 MB, free: 5.922 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.339/1.339, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.696/2.696, allocations: 461.9 MB / 0.7348 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001438/0.001438, allocations: 63.89 kB / 1.054 GB, free: 8.219 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8659/0.8674, allocations: 157.4 MB / 1.207 GB, free: 13.55 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Weibull1DON): time 0.002496/0.8699, allocations: 1.217 MB / 1.208 GB, free: 12.33 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0009933/0.8709, allocations: 450.5 kB / 1.209 GB, free: 11.89 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.769e-05/0.871, allocations: 0 / 1.209 GB, free: 11.89 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 2.388e-05/0.871, allocations: 3.938 kB / 1.209 GB, free: 11.88 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 3.891e-05/0.8711, allocations: 0 / 1.209 GB, free: 11.88 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007212/0.8718, allocations: 115.6 kB / 1.209 GB, free: 11.77 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 9.383e-05/0.8719, allocations: 23.91 kB / 1.209 GB, free: 11.75 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 5.437e-05/0.872, allocations: 4 kB / 1.209 GB, free: 11.74 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 3.338e-05/0.872, allocations: 11.92 kB / 1.209 GB, free: 11.73 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 3.588e-05/0.8721, allocations: 11.92 kB / 1.209 GB, free: 11.72 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.898e-05/0.8721, allocations: 4 kB / 1.209 GB, free: 11.71 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002727/0.8724, allocations: 99.84 kB / 1.209 GB, free: 11.62 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.549e-05/0.8724, allocations: 7.984 kB / 1.209 GB, free: 11.61 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 4.859e-05/0.8725, allocations: 11.92 kB / 1.209 GB, free: 11.6 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0002482/0.8727, allocations: 103.8 kB / 1.209 GB, free: 11.5 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.628e-06/0.8727, allocations: 4 kB / 1.209 GB, free: 11.49 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.843e-06/0.8728, allocations: 0 / 1.209 GB, free: 11.49 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 6.241e-06/0.8728, allocations: 0 / 1.209 GB, free: 11.49 MB / 0.9356 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.0006108/0.8734, allocations: 383.4 kB / 1.21 GB, free: 11.06 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 5.04e-05/0.8734, allocations: 8.031 kB / 1.21 GB, free: 11.05 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.561e-05/0.8735, allocations: 30.75 kB / 1.21 GB, free: 11.02 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.121e-05/0.8736, allocations: 8.844 kB / 1.21 GB, free: 11.01 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001818/0.8738, allocations: 172.3 kB / 1.21 GB, free: 10.8 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.203e-05/0.8738, allocations: 12.38 kB / 1.21 GB, free: 10.79 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.117e-05/0.8738, allocations: 384 / 1.21 GB, free: 10.79 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001365/0.874, allocations: 42.23 kB / 1.21 GB, free: 10.74 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.207e-05/0.874, allocations: 7.875 kB / 1.21 GB, free: 10.73 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.007e-05/0.874, allocations: 0 / 1.21 GB, free: 10.73 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.201e-06/0.874, allocations: 0 / 1.21 GB, free: 10.73 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.313e-05/0.874, allocations: 19.92 kB / 1.21 GB, free: 10.71 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003745/0.8744, allocations: 237 kB / 1.21 GB, free: 10.43 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001138/0.8746, allocations: 38.52 kB / 1.21 GB, free: 10.39 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.008e-05/0.8746, allocations: 20.94 kB / 1.21 GB, free: 10.36 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 7.985e-06/0.8746, allocations: 0 / 1.21 GB, free: 10.36 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001928/0.8748, allocations: 63.33 kB / 1.21 GB, free: 10.29 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=5): time 1.443e-06/0.8748, allocations: 0 / 1.21 GB, free: 10.29 MB / 0.9356 GB Notification: Performance of matching and sorting (n=5): time 0.0002369/0.8751, allocations: 73.78 kB / 1.21 GB, free: 10.21 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.404e-05/0.8751, allocations: 55.41 kB / 1.21 GB, free: 10.14 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.431e-05/0.8752, allocations: 109.9 kB / 1.21 GB, free: 10.03 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.125e-05/0.8753, allocations: 33.7 kB / 1.21 GB, free: 9.988 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 4.626e-05/0.8753, allocations: 80.14 kB / 1.211 GB, free: 9.906 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.091e-05/0.8753, allocations: 11.89 kB / 1.211 GB, free: 9.895 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.987e-05/0.8754, allocations: 21.72 kB / 1.211 GB, free: 9.867 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001218/0.8755, allocations: 314.8 kB / 1.211 GB, free: 9.551 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.033e-05/0.8755, allocations: 19.94 kB / 1.211 GB, free: 9.531 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.049e-05/0.8756, allocations: 35.42 kB / 1.211 GB, free: 9.484 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.656e-05/0.8757, allocations: 43.38 kB / 1.211 GB, free: 9.43 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.8757, allocations: 3.938 kB / 1.211 GB, free: 9.426 MB / 0.9356 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001128/0.8758, allocations: 81.55 kB / 1.211 GB, free: 9.34 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.533e-05/0.8758, allocations: 4 kB / 1.211 GB, free: 9.336 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.081e-06/0.8758, allocations: 0 / 1.211 GB, free: 9.336 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.627e-05/0.8758, allocations: 4 kB / 1.211 GB, free: 9.332 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.476e-05/0.8759, allocations: 8 kB / 1.211 GB, free: 9.324 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.596e-06/0.8759, allocations: 8.078 kB / 1.211 GB, free: 9.316 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.981e-05/0.876, allocations: 11.88 kB / 1.211 GB, free: 9.305 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.035e-05/0.876, allocations: 4 kB / 1.211 GB, free: 9.301 MB / 0.9356 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 9.311e-05/0.8761, allocations: 117.8 kB / 1.211 GB, free: 9.176 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.422e-05/0.8761, allocations: 7.938 kB / 1.211 GB, free: 9.168 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.058e-05/0.8761, allocations: 12.06 kB / 1.211 GB, free: 9.148 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.476e-06/0.8762, allocations: 3.984 kB / 1.211 GB, free: 9.145 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.049e-06/0.8762, allocations: 0 / 1.211 GB, free: 9.145 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.8762, allocations: 0 / 1.211 GB, free: 9.145 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002774/0.8765, allocations: 302.5 kB / 1.212 GB, free: 8.793 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.8765, allocations: 3.938 kB / 1.212 GB, free: 8.789 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.975e-05/0.8765, allocations: 4 kB / 1.212 GB, free: 8.785 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.584e-06/0.8765, allocations: 0 / 1.212 GB, free: 8.785 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.185e-06/0.8765, allocations: 0 / 1.212 GB, free: 8.785 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.8765, allocations: 4 kB / 1.212 GB, free: 8.781 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.8765, allocations: 0 / 1.212 GB, free: 8.781 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001751/0.8767, allocations: 167.8 kB / 1.212 GB, free: 8.602 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.875e-05/0.8768, allocations: 85.02 kB / 1.212 GB, free: 8.5 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.457e-05/0.8768, allocations: 0 / 1.212 GB, free: 8.5 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.902e-05/0.8768, allocations: 0 / 1.212 GB, free: 8.5 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.399e-05/0.8769, allocations: 11.98 kB / 1.212 GB, free: 8.488 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.691e-06/0.8769, allocations: 0 / 1.212 GB, free: 8.488 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 4.196e-05/0.8769, allocations: 83.28 kB / 1.212 GB, free: 8.406 MB / 0.9356 GB Notification: Performance of sort global known variables: time 2.2e-07/0.8769, allocations: 0 / 1.212 GB, free: 8.406 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002949/0.8772, allocations: 43.92 kB / 1.212 GB, free: 8.363 MB / 0.9356 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.0008111/0.878, allocations: 0.7699 MB / 1.213 GB, free: 7.582 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0001436/0.8782, allocations: 31.92 kB / 1.213 GB, free: 7.551 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.8782, allocations: 0 / 1.213 GB, free: 7.551 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 4.448e-05/0.8783, allocations: 19.98 kB / 1.213 GB, free: 7.531 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002089/0.8785, allocations: 0 / 1.213 GB, free: 7.531 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001673/0.8802, allocations: 1.307 MB / 1.214 GB, free: 6.129 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002614/0.8804, allocations: 0.6807 MB / 1.215 GB, free: 5.422 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 1.918e-05/0.8805, allocations: 0 / 1.215 GB, free: 5.422 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.213e-05/0.8805, allocations: 15.44 kB / 1.215 GB, free: 5.406 MB / 0.9356 GB Notification: Performance of SimCode: time 3.61e-07/0.8805, allocations: 0 / 1.215 GB, free: 5.406 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01947/0.9, allocations: 2.128 MB / 1.217 GB, free: 3.379 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.916/8.816, allocations: 10.5 kB / 1.217 GB, free: 3.371 MB / 0.9356 GB (rm -f Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.pipe ; mkfifo Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.pipe >> ../files/Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DON_res.mat --tempDir=temp_Buildings_latest_Buildings_Occupants_BaseClasses_Validation_Weibull1DON_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Occupants_BaseClasses_Validation_Weibull1DON.fmu > Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DON_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_BaseClasses_Validation_Weibull1DON.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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