Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001175/0.001175, allocations: 109 kB / 17.54 MB, free: 4.746 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001173/0.001173, allocations: 185.9 kB / 20.71 MB, free: 1.586 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.288/1.288, allocations: 225.6 MB / 249.3 MB, free: 3.152 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.497/2.497, allocations: 476.7 MB / 0.7628 GB, free: 15.13 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.WeibullVariableGeneration,fileNamePrefix="Buildings_11_Buildings_Occupants_BaseClasses_Validation_WeibullVariableGeneration",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration,fileNamePrefix="Buildings_11_Buildings_Occupants_BaseClasses_Validation_WeibullVariableGeneration",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.0018/0.0018, allocations: 67.89 kB / 1.107 GB, free: 5.203 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7514/0.7532, allocations: 168.7 MB / 1.271 GB, free: 7.723 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration): time 0.001952/0.7551, allocations: 1.222 MB / 1.273 GB, free: 6.887 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0007267/0.7558, allocations: 416.5 kB / 1.273 GB, free: 6.629 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.168e-05/0.7559, allocations: 4 kB / 1.273 GB, free: 6.625 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 1.89e-05/0.7559, allocations: 0.7188 kB / 1.273 GB, free: 6.625 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 3.183e-05/0.7559, allocations: 1.031 kB / 1.273 GB, free: 6.625 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004624/0.7564, allocations: 102.4 kB / 1.273 GB, free: 6.574 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 5.815e-05/0.7564, allocations: 12.17 kB / 1.273 GB, free: 6.574 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.811e-05/0.7565, allocations: 2.766 kB / 1.273 GB, free: 6.574 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.063e-05/0.7565, allocations: 8.672 kB / 1.273 GB, free: 6.57 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 2.679e-05/0.7565, allocations: 8.812 kB / 1.273 GB, free: 6.566 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.204e-05/0.7565, allocations: 5.406 kB / 1.273 GB, free: 6.562 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002255/0.7568, allocations: 102 kB / 1.273 GB, free: 6.531 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.499e-05/0.7568, allocations: 14.17 kB / 1.273 GB, free: 6.52 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 2.419e-05/0.7568, allocations: 6.766 kB / 1.273 GB, free: 6.516 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001829/0.757, allocations: 88.58 kB / 1.273 GB, free: 6.488 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.848e-06/0.757, allocations: 0 / 1.273 GB, free: 6.488 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.684e-06/0.757, allocations: 3.938 kB / 1.273 GB, free: 6.484 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.18e-06/0.757, allocations: 0.8125 kB / 1.273 GB, free: 6.484 MB / 0.9981 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.0003624/0.7574, allocations: 346 kB / 1.274 GB, free: 6.117 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.684e-05/0.7574, allocations: 10.06 kB / 1.274 GB, free: 6.117 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.541e-05/0.7574, allocations: 31.69 kB / 1.274 GB, free: 6.078 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.594e-05/0.7575, allocations: 13.48 kB / 1.274 GB, free: 6.07 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.96e-05/0.7575, allocations: 165.2 kB / 1.274 GB, free: 5.871 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.321e-05/0.7575, allocations: 6.281 kB / 1.274 GB, free: 5.867 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.019e-05/0.7576, allocations: 1.969 kB / 1.274 GB, free: 5.867 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.906e-05/0.7577, allocations: 37.47 kB / 1.274 GB, free: 5.836 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.524e-06/0.7577, allocations: 3.938 kB / 1.274 GB, free: 5.832 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.217e-06/0.7577, allocations: 2.094 kB / 1.274 GB, free: 5.832 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.522e-06/0.7577, allocations: 1.219 kB / 1.274 GB, free: 5.832 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.82e-05/0.7577, allocations: 14.95 kB / 1.274 GB, free: 5.824 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002428/0.7579, allocations: 241.6 kB / 1.274 GB, free: 5.555 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 7.315e-05/0.758, allocations: 35.83 kB / 1.274 GB, free: 5.523 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.913e-05/0.758, allocations: 18.83 kB / 1.274 GB, free: 5.512 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 6.242e-06/0.7581, allocations: 0.8125 kB / 1.274 GB, free: 5.512 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000115/0.7582, allocations: 64.42 kB / 1.274 GB, free: 5.449 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=5): time 1.243e-06/0.7582, allocations: 0.75 kB / 1.274 GB, free: 5.449 MB / 0.9981 GB Notification: Performance of matching and sorting (n=5): time 0.0001759/0.7583, allocations: 76 kB / 1.274 GB, free: 5.402 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.321e-05/0.7584, allocations: 58.47 kB / 1.274 GB, free: 5.336 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.568e-05/0.7584, allocations: 102.4 kB / 1.274 GB, free: 5.23 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 7.955e-06/0.7584, allocations: 26.7 kB / 1.274 GB, free: 5.199 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 1.46e-05/0.7584, allocations: 81.36 kB / 1.275 GB, free: 5.117 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.426e-05/0.7585, allocations: 11.25 kB / 1.275 GB, free: 5.109 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.233e-05/0.7585, allocations: 25.92 kB / 1.275 GB, free: 5.086 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.254e-05/0.7585, allocations: 313.3 kB / 1.275 GB, free: 4.773 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.298e-05/0.7586, allocations: 11.72 kB / 1.275 GB, free: 4.77 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.484e-05/0.7586, allocations: 38.17 kB / 1.275 GB, free: 4.73 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.068e-05/0.7586, allocations: 50.61 kB / 1.275 GB, free: 4.688 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.7586, allocations: 3.938 kB / 1.275 GB, free: 4.684 MB / 0.9981 GB Notification: Performance of matching and sorting (n=8) (initialization): time 8.813e-05/0.7587, allocations: 78.31 kB / 1.275 GB, free: 4.629 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.151e-05/0.7587, allocations: 5.5 kB / 1.275 GB, free: 4.629 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.7587, allocations: 1.125 kB / 1.275 GB, free: 4.629 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.266e-05/0.7588, allocations: 1.844 kB / 1.275 GB, free: 4.629 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.89e-05/0.7588, allocations: 9.062 kB / 1.275 GB, free: 4.629 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.969e-06/0.7588, allocations: 4.812 kB / 1.275 GB, free: 4.625 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.508e-05/0.7588, allocations: 8.734 kB / 1.275 GB, free: 4.621 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.424e-06/0.7589, allocations: 2.156 kB / 1.275 GB, free: 4.621 MB / 0.9981 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.232e-05/0.7589, allocations: 122.4 kB / 1.275 GB, free: 4.496 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.046e-05/0.7589, allocations: 5.016 kB / 1.275 GB, free: 4.492 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.017e-05/0.7589, allocations: 11.88 kB / 1.275 GB, free: 4.484 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.784e-06/0.7589, allocations: 1.094 kB / 1.275 GB, free: 4.484 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.845e-06/0.7589, allocations: 0 / 1.275 GB, free: 4.484 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.926e-06/0.7589, allocations: 1.062 kB / 1.275 GB, free: 4.484 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001564/0.7591, allocations: 298.4 kB / 1.276 GB, free: 4.172 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.7591, allocations: 1.031 kB / 1.276 GB, free: 4.172 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.881e-05/0.7591, allocations: 7.094 kB / 1.276 GB, free: 4.168 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.372e-06/0.7591, allocations: 3.938 kB / 1.276 GB, free: 4.164 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.023e-06/0.7591, allocations: 1.484 kB / 1.276 GB, free: 4.164 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.7591, allocations: 1.312 kB / 1.276 GB, free: 4.164 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.7591, allocations: 0.6562 kB / 1.276 GB, free: 4.164 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.804e-05/0.7592, allocations: 166.8 kB / 1.276 GB, free: 4.016 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.394e-05/0.7592, allocations: 81.83 kB / 1.276 GB, free: 3.918 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.143e-05/0.7592, allocations: 5.828 kB / 1.276 GB, free: 3.914 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.819e-05/0.7593, allocations: 6.078 kB / 1.276 GB, free: 3.91 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.673e-05/0.7593, allocations: 7.609 kB / 1.276 GB, free: 3.906 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.9e-06/0.7593, allocations: 2.031 kB / 1.276 GB, free: 3.906 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 1.629e-05/0.7593, allocations: 78.06 kB / 1.276 GB, free: 3.832 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/0.7593, allocations: 0 / 1.276 GB, free: 3.832 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002638/0.7596, allocations: 34.66 kB / 1.276 GB, free: 3.82 MB / 0.9981 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.0004741/0.7601, allocations: 0.7755 MB / 1.277 GB, free: 3.113 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 9.527e-05/0.7602, allocations: 31.08 kB / 1.277 GB, free: 3.105 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.7602, allocations: 0 / 1.277 GB, free: 3.105 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 3.041e-05/0.7602, allocations: 14.61 kB / 1.277 GB, free: 3.102 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000188/0.7604, allocations: 2.094 kB / 1.277 GB, free: 3.102 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000797/0.7612, allocations: 1.268 MB / 1.278 GB, free: 17.86 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002666/0.7614, allocations: 0.6775 MB / 1.279 GB, free: 17.16 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 1.98e-05/0.7615, allocations: 3 kB / 1.279 GB, free: 17.16 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.588e-05/0.7615, allocations: 19.19 kB / 1.279 GB, free: 17.14 MB / 1.014 GB Notification: Performance of SimCode: time 2.8e-07/0.7615, allocations: 0 / 1.279 GB, free: 17.14 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02267/0.7842, allocations: 1.955 MB / 1.281 GB, free: 16.68 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.871/7.655, allocations: 8.422 kB / 1.281 GB, free: 16.68 MB / 1.014 GB " [Timeout remaining time 292] (rm -f Buildings_11_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.pipe ; mkfifo Buildings_11_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.pipe >> ../files/Buildings_11_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration_res.mat --tempDir=temp_Buildings_11_Buildings_Occupants_BaseClasses_Validation_WeibullVariableGeneration_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Occupants_BaseClasses_Validation_WeibullVariableGeneration.fmu > Buildings_11_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_BaseClasses_Validation_WeibullVariableGeneration.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] "" Variables in the reference:time,y Variables in the result:k,lambda,seed,time,y [Calling sys.exit(0), Time elapsed: 12.888833897999575]