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.00852/0.00852, allocations: 106.7 kB / 15.74 MB, free: 6.039 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.001233/0.001233, allocations: 195.2 kB / 16.67 MB, free: 5.973 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.554/1.554, allocations: 222.9 MB / 240.4 MB, free: 4.316 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.36/2.36, allocations: 390.3 MB / 0.6648 GB, free: 188 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001128/0.001128, allocations: 65.86 kB / 0.9504 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2189/0.2201, allocations: 140.4 MB / 1.087 GB, free: 2.004 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF): time 0.001821/0.2219, allocations: 1.227 MB / 1.089 GB, free: 0.7656 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0007608/0.2227, allocations: 444.2 kB / 1.089 GB, free: 340 kB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.206e-05/0.2227, allocations: 4 kB / 1.089 GB, free: 336 kB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 1.406e-05/0.2227, allocations: 0 / 1.089 GB, free: 336 kB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 3.352e-05/0.2228, allocations: 3.938 kB / 1.089 GB, free: 332 kB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004426/0.2232, allocations: 111.6 kB / 1.089 GB, free: 220 kB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 5.757e-05/0.2233, allocations: 27.86 kB / 1.089 GB, free: 192 kB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 3.567e-05/0.2233, allocations: 0 / 1.089 GB, free: 192 kB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 1.888e-05/0.2234, allocations: 7.984 kB / 1.089 GB, free: 184 kB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 2.606e-05/0.2234, allocations: 15.92 kB / 1.089 GB, free: 168 kB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.005e-05/0.2234, allocations: 0 / 1.089 GB, free: 168 kB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001915/0.2236, allocations: 107.8 kB / 1.089 GB, free: 60 kB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 1.702e-05/0.2236, allocations: 8 kB / 1.089 GB, free: 52 kB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 2.593e-05/0.2237, allocations: 11.94 kB / 1.089 GB, free: 40 kB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001771/0.2239, allocations: 95.8 kB / 1.089 GB, free: 15.95 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.2239, allocations: 0 / 1.089 GB, free: 15.95 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.242e-06/0.2239, allocations: 3.938 kB / 1.089 GB, free: 15.94 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.358e-06/0.2239, allocations: 0 / 1.089 GB, free: 15.94 MB / 0.8575 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.0004277/0.2243, allocations: 384 kB / 1.09 GB, free: 15.51 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.611e-05/0.2244, allocations: 12.03 kB / 1.09 GB, free: 15.5 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.406e-05/0.2244, allocations: 34.75 kB / 1.09 GB, free: 15.46 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.476e-05/0.2244, allocations: 8.859 kB / 1.09 GB, free: 15.45 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.834e-05/0.2246, allocations: 172.9 kB / 1.09 GB, free: 15.24 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.933e-05/0.2246, allocations: 384 / 1.09 GB, free: 15.24 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.053e-05/0.2246, allocations: 4.375 kB / 1.09 GB, free: 15.24 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.782e-05/0.2247, allocations: 46.19 kB / 1.09 GB, free: 15.19 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.075e-06/0.2247, allocations: 3.938 kB / 1.09 GB, free: 15.18 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.744e-06/0.2247, allocations: 0 / 1.09 GB, free: 15.18 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.426e-06/0.2247, allocations: 0 / 1.09 GB, free: 15.18 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.1e-05/0.2248, allocations: 7.984 kB / 1.09 GB, free: 15.18 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002592/0.225, allocations: 249.2 kB / 1.09 GB, free: 14.88 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 8.542e-05/0.2251, allocations: 46.44 kB / 1.09 GB, free: 14.83 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.309e-05/0.2252, allocations: 12.86 kB / 1.09 GB, free: 14.81 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 5.761e-06/0.2252, allocations: 0 / 1.09 GB, free: 14.81 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001201/0.2253, allocations: 63.48 kB / 1.09 GB, free: 14.74 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=5): time 1.122e-06/0.2253, allocations: 0 / 1.09 GB, free: 14.74 MB / 0.8575 GB Notification: Performance of matching and sorting (n=5): time 0.0001791/0.2255, allocations: 73.67 kB / 1.091 GB, free: 14.66 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.176e-05/0.2255, allocations: 55.34 kB / 1.091 GB, free: 14.59 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.438e-05/0.2256, allocations: 109.8 kB / 1.091 GB, free: 14.48 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.347e-05/0.2256, allocations: 29.7 kB / 1.091 GB, free: 14.44 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.112e-05/0.2257, allocations: 84.12 kB / 1.091 GB, free: 14.36 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.522e-05/0.2257, allocations: 11.91 kB / 1.091 GB, free: 14.34 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.943e-05/0.2257, allocations: 21.72 kB / 1.091 GB, free: 14.32 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 9.655e-05/0.2258, allocations: 322.8 kB / 1.091 GB, free: 13.99 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.766e-05/0.2258, allocations: 8.438 kB / 1.091 GB, free: 13.98 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.478e-05/0.2259, allocations: 35.42 kB / 1.091 GB, free: 13.94 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.487e-05/0.2259, allocations: 51.38 kB / 1.091 GB, free: 13.88 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.226, allocations: 3.938 kB / 1.091 GB, free: 13.87 MB / 0.8575 GB Notification: Performance of matching and sorting (n=8) (initialization): time 9.551e-05/0.226, allocations: 81.5 kB / 1.091 GB, free: 13.79 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.272e-05/0.2261, allocations: 9.25 kB / 1.091 GB, free: 13.78 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.737e-06/0.2261, allocations: 0 / 1.091 GB, free: 13.78 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.939e-06/0.2261, allocations: 0 / 1.091 GB, free: 13.78 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.074e-05/0.2261, allocations: 11.94 kB / 1.091 GB, free: 13.77 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.745e-06/0.2262, allocations: 7.984 kB / 1.091 GB, free: 13.76 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.187e-05/0.2262, allocations: 4 kB / 1.091 GB, free: 13.75 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.815e-06/0.2262, allocations: 8.062 kB / 1.091 GB, free: 13.75 MB / 0.8575 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 5.871e-05/0.2263, allocations: 109.8 kB / 1.091 GB, free: 13.63 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.367e-05/0.2263, allocations: 11.91 kB / 1.091 GB, free: 13.62 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.025e-05/0.2263, allocations: 3.969 kB / 1.091 GB, free: 13.61 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.332e-06/0.2263, allocations: 3.938 kB / 1.091 GB, free: 13.61 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.675e-06/0.2263, allocations: 0 / 1.091 GB, free: 13.61 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.145e-06/0.2263, allocations: 4 kB / 1.091 GB, free: 13.6 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002253/0.2266, allocations: 306.4 kB / 1.092 GB, free: 13.25 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.213e-06/0.2266, allocations: 0 / 1.092 GB, free: 13.25 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.397e-05/0.2266, allocations: 4 kB / 1.092 GB, free: 13.24 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.976e-06/0.2266, allocations: 4 kB / 1.092 GB, free: 13.24 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.165e-06/0.2266, allocations: 3.984 kB / 1.092 GB, free: 13.23 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.2266, allocations: 0 / 1.092 GB, free: 13.23 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.2266, allocations: 0 / 1.092 GB, free: 13.23 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001319/0.2267, allocations: 159.5 kB / 1.092 GB, free: 13.06 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.144e-05/0.2268, allocations: 85.02 kB / 1.092 GB, free: 12.96 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.222e-05/0.2268, allocations: 7.922 kB / 1.092 GB, free: 12.95 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.834e-05/0.2269, allocations: 8 kB / 1.092 GB, free: 12.95 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.642e-05/0.2269, allocations: 0 / 1.092 GB, free: 12.95 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.933e-06/0.2269, allocations: 4 kB / 1.092 GB, free: 12.94 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.633e-05/0.2269, allocations: 87.39 kB / 1.092 GB, free: 12.86 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1e-07/0.2269, allocations: 0 / 1.092 GB, free: 12.86 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002519/0.2272, allocations: 35.94 kB / 1.092 GB, free: 12.82 MB / 0.8575 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.0005732/0.2278, allocations: 0.7644 MB / 1.093 GB, free: 12.04 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 9.763e-05/0.2279, allocations: 39.84 kB / 1.093 GB, free: 12 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.343e-06/0.2279, allocations: 0 / 1.093 GB, free: 12 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 3.705e-05/0.2279, allocations: 19.92 kB / 1.093 GB, free: 11.98 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001835/0.2281, allocations: 4.125 kB / 1.093 GB, free: 11.98 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000902/0.229, allocations: 1.292 MB / 1.094 GB, free: 10.59 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002087/0.2293, allocations: 0.6768 MB / 1.095 GB, free: 9.891 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 1.455e-05/0.2293, allocations: 4 kB / 1.095 GB, free: 9.887 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.764e-05/0.2293, allocations: 23.42 kB / 1.095 GB, free: 9.863 MB / 0.8575 GB Notification: Performance of SimCode: time 2.2e-07/0.2293, allocations: 0 / 1.095 GB, free: 9.863 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6354/0.8647, allocations: 2.1 MB / 1.097 GB, free: 7.863 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.108/8.972, allocations: 8.844 kB / 1.097 GB, free: 7.855 MB / 0.8575 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