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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00122/0.00122, allocations: 80.44 kB / 19.17 MB, free: 0.7461 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00132/0.00132, allocations: 165.9 kB / 22.45 MB, free: 2.113 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9065/0.9065, allocations: 177.1 MB / 202.8 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.721/1.721, allocations: 359 MB / 0.6037 GB, free: 11.12 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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 2.474e-06/2.474e-06, allocations: 0 / 0.9504 GB, free: 3.555 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.594e-05/2.841e-05, allocations: 6.281 kB / 0.9505 GB, free: 3.547 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration): time 0.001895/0.001923, allocations: 1.235 MB / 0.9517 GB, free: 2.293 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0006928/0.002616, allocations: 407.2 kB / 0.952 GB, free: 1.895 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.992e-05/0.002646, allocations: 0 / 0.952 GB, free: 1.895 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 1.973e-05/0.002665, allocations: 3.938 kB / 0.9521 GB, free: 1.891 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 4.13e-05/0.002707, allocations: 4 kB / 0.9521 GB, free: 1.887 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005447/0.003251, allocations: 103.6 kB / 0.9522 GB, free: 1.785 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 5.826e-05/0.00331, allocations: 23.84 kB / 0.9522 GB, free: 1.762 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 4.155e-05/0.003351, allocations: 0 / 0.9522 GB, free: 1.762 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 3.698e-05/0.003388, allocations: 15.98 kB / 0.9522 GB, free: 1.746 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 2.267e-05/0.003411, allocations: 3.984 kB / 0.9522 GB, free: 1.742 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.445e-05/0.003425, allocations: 4 kB / 0.9522 GB, free: 1.738 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002038/0.003629, allocations: 127.7 kB / 0.9523 GB, free: 1.613 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 1.396e-05/0.003643, allocations: 0 / 0.9523 GB, free: 1.613 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 2.562e-05/0.003669, allocations: 15.92 kB / 0.9523 GB, free: 1.598 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0001666/0.003835, allocations: 103.7 kB / 0.9524 GB, free: 1.496 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.003839, allocations: 4 kB / 0.9524 GB, free: 1.492 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.493e-06/0.00384, allocations: 0 / 0.9524 GB, free: 1.492 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 3.918e-06/0.003844, allocations: 3.938 kB / 0.9524 GB, free: 1.488 MB / 0.9011 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.0004055/0.00425, allocations: 274.2 kB / 0.9527 GB, free: 1.188 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.188e-05/0.004292, allocations: 8.031 kB / 0.9527 GB, free: 1.18 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.755e-05/0.004359, allocations: 30.75 kB / 0.9527 GB, free: 1.141 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.801e-05/0.004387, allocations: 8.891 kB / 0.9528 GB, free: 1.133 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.898e-05/0.004466, allocations: 113.7 kB / 0.9529 GB, free: 0.9961 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.197e-05/0.004478, allocations: 4.375 kB / 0.9529 GB, free: 0.9922 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.398e-06/0.004488, allocations: 4.375 kB / 0.9529 GB, free: 0.9883 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001079/0.004595, allocations: 46.23 kB / 0.9529 GB, free: 0.9375 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.864e-06/0.004603, allocations: 192 / 0.9529 GB, free: 0.9375 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.939e-06/0.004613, allocations: 384 / 0.9529 GB, free: 0.9375 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.472e-06/0.00462, allocations: 4.125 kB / 0.9529 GB, free: 0.9336 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.302e-05/0.004643, allocations: 7.938 kB / 0.9529 GB, free: 0.9258 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002744/0.004917, allocations: 216 kB / 0.9531 GB, free: 0.6719 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 7.161e-05/0.004989, allocations: 30.58 kB / 0.9532 GB, free: 0.6328 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.436e-05/0.005013, allocations: 16.94 kB / 0.9532 GB, free: 0.6133 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001658/0.005179, allocations: 4 kB / 0.9532 GB, free: 0.6094 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001324/0.005311, allocations: 67.27 kB / 0.9532 GB, free: 0.5312 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=5): time 1.122e-06/0.005313, allocations: 0 / 0.9532 GB, free: 0.5312 MB / 0.9011 GB Notification: Performance of matching and sorting (n=5): time 0.000173/0.005486, allocations: 69.69 kB / 0.9533 GB, free: 468 kB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.649e-05/0.005522, allocations: 55.41 kB / 0.9534 GB, free: 400 kB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.302e-05/0.005575, allocations: 105.8 kB / 0.9535 GB, free: 284 kB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 1.047e-05/0.005586, allocations: 25.7 kB / 0.9535 GB, free: 252 kB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 2.581e-05/0.005611, allocations: 84.14 kB / 0.9536 GB, free: 164 kB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 1.535e-05/0.005627, allocations: 11.89 kB / 0.9536 GB, free: 152 kB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.911e-05/0.005656, allocations: 25.7 kB / 0.9536 GB, free: 120 kB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 8.428e-05/0.00574, allocations: 318.8 kB / 0.9539 GB, free: 15.8 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.583e-05/0.005756, allocations: 4 kB / 0.9539 GB, free: 15.79 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.185e-05/0.005788, allocations: 43.36 kB / 0.954 GB, free: 15.74 MB / 0.9167 GB Notification: It was not possible to check the given initialization system for consistency symbolically, because the relevant equations are part of an algebraic loop. This is not supported yet. Notification: Performance of analyzeInitialSystem (initialization): time 9.151e-05/0.005879, allocations: 63.92 kB / 0.954 GB, free: 15.66 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.005881, allocations: 0 / 0.954 GB, free: 15.66 MB / 0.9167 GB Warning: The linear system: 1 : $PRE.$outputAlias_y = $outputAlias_y 2 : $outputAlias_y = $PRE.$outputAlias_y [ -1.0 , 1.0 ; 1.0 , -1.0 ] * [ $outputAlias_y ; $PRE.$outputAlias_y ] = [ 0.0 ; 0.0 ] might be structurally or numerically singular for variable $PRE.$outputAlias_y since U(2,2) = 0.0. It might be hard to solve. Compilation continues anyway. Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002662/0.006147, allocations: 124.5 kB / 0.9541 GB, free: 15.54 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.411e-05/0.006161, allocations: 7.984 kB / 0.9541 GB, free: 15.53 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.154e-06/0.006169, allocations: 4 kB / 0.9541 GB, free: 15.52 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.859e-05/0.006237, allocations: 8.859 kB / 0.9542 GB, free: 15.51 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.297e-05/0.00629, allocations: 11.94 kB / 0.9542 GB, free: 15.5 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008222/0.007112, allocations: 1.367 MB / 0.9555 GB, free: 14.02 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.858e-05/0.007131, allocations: 4.141 kB / 0.9555 GB, free: 14.02 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.314e-06/0.007138, allocations: 12 kB / 0.9555 GB, free: 14 MB / 0.9167 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: y = 0.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 4 (curSeed,$PRE.curSeed,$whenCondition1,y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 7.239e-05/0.007211, allocations: 109.9 kB / 0.9556 GB, free: 13.89 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.206e-06/0.007219, allocations: 7.875 kB / 0.9556 GB, free: 13.88 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.918e-06/0.007229, allocations: 11.75 kB / 0.9556 GB, free: 13.87 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.142e-06/0.00723, allocations: 0 / 0.9556 GB, free: 13.87 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.343e-06/0.007231, allocations: 4 kB / 0.9556 GB, free: 13.86 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.995e-06/0.007234, allocations: 0 / 0.9556 GB, free: 13.86 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001659/0.0074, allocations: 273.6 kB / 0.9559 GB, free: 13.55 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.007402, allocations: 4 kB / 0.9559 GB, free: 13.54 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.135e-05/0.007413, allocations: 4 kB / 0.9559 GB, free: 13.54 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.202e-06/0.007414, allocations: 0 / 0.9559 GB, free: 13.54 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.651e-06/0.00742, allocations: 0 / 0.9559 GB, free: 13.54 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.007422, allocations: 4.062 kB / 0.9559 GB, free: 13.54 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.007423, allocations: 0 / 0.9559 GB, free: 13.54 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.14e-05/0.007504, allocations: 167.5 kB / 0.9561 GB, free: 13.36 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 5.761e-06/0.00751, allocations: 11.92 kB / 0.9561 GB, free: 13.34 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.503e-06/0.007516, allocations: 8 kB / 0.9561 GB, free: 13.34 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.881e-05/0.007545, allocations: 3.984 kB / 0.9561 GB, free: 13.33 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.919e-05/0.007564, allocations: 3.984 kB / 0.9561 GB, free: 13.33 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.531e-06/0.00757, allocations: 8 kB / 0.9561 GB, free: 13.32 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 2.482e-05/0.007595, allocations: 75.28 kB / 0.9562 GB, free: 13.25 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.007595, allocations: 0 / 0.9562 GB, free: 13.25 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0002452/0.00784, allocations: 31.94 kB / 0.9562 GB, free: 13.21 MB / 0.9167 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,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.0004635/0.008303, allocations: 0.7769 MB / 0.957 GB, free: 12.43 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0002115/0.008515, allocations: 150.6 kB / 0.9571 GB, free: 12.27 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.008516, allocations: 0 / 0.9571 GB, free: 12.27 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 2.218e-05/0.008539, allocations: 15.94 kB / 0.9571 GB, free: 12.25 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001368/0.008675, allocations: 7.938 kB / 0.9571 GB, free: 12.24 MB / 0.9167 GB Warning: The linear system: 1 : $PRE.$outputAlias_y = $outputAlias_y 2 : $outputAlias_y = $PRE.$outputAlias_y [ 1.0 , -1.0 ; -1.0 , 1.0 ] * [ $PRE.$outputAlias_y ; $outputAlias_y ] = [ 0.0 ; 0.0 ] might be structurally or numerically singular for variable $outputAlias_y since U(2,2) = 0.0. It might be hard to solve. Compilation continues anyway. Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008345/0.00951, allocations: 1.342 MB / 0.9584 GB, free: 10.79 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.104e-05/0.009551, allocations: 65.84 kB / 0.9585 GB, free: 10.71 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 1.437e-05/0.009565, allocations: 0 / 0.9585 GB, free: 10.71 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.75e-05/0.009593, allocations: 16.48 kB / 0.9585 GB, free: 10.69 MB / 0.9167 GB Notification: Performance of SimCode: time 4.2e-07/0.009593, allocations: 0 / 0.9585 GB, free: 10.69 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01787/0.02746, allocations: 2.789 MB / 0.9612 GB, free: 8.047 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.228/7.256, allocations: 0.5 kB / 0.9612 GB, free: 8.047 MB / 0.9167 GB " [Timeout remaining time 293] (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 --stepSize=0.0004 --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/jenkins/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: 11.376279657706618]