Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.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.0008358/0.0008358, allocations: 72.44 kB / 19.17 MB, free: 0.7344 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.0009287/0.0009287, allocations: 165.9 kB / 22.45 MB, free: 2.098 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.9106/0.9106, allocations: 177.1 MB / 202.8 MB, free: 5.746 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.698/1.698, allocations: 359 MB / 0.6037 GB, free: 11.08 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.ExponentialVariableGeneration,fileNamePrefix="Buildings_11_Buildings_Occupants_BaseClasses_Validation_ExponentialVariableGeneration",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration,fileNamePrefix="Buildings_11_Buildings_Occupants_BaseClasses_Validation_ExponentialVariableGeneration",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.015e-06/3.015e-06, allocations: 0 / 0.9505 GB, free: 3.508 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.529e-05/2.83e-05, allocations: 5.234 kB / 0.9505 GB, free: 3.504 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration): time 0.00243/0.002459, allocations: 1.224 MB / 0.9517 GB, free: 2.262 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0009124/0.003371, allocations: 403.2 kB / 0.952 GB, free: 1.867 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.922e-05/0.0034, allocations: 0 / 0.952 GB, free: 1.867 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 2.074e-05/0.003421, allocations: 0 / 0.952 GB, free: 1.867 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 4.082e-05/0.003462, allocations: 0 / 0.952 GB, free: 1.867 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005199/0.003982, allocations: 111.5 kB / 0.9521 GB, free: 1.758 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 5.314e-05/0.004035, allocations: 15.92 kB / 0.9522 GB, free: 1.742 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 3.349e-05/0.004068, allocations: 7.984 kB / 0.9522 GB, free: 1.734 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 3.285e-05/0.004101, allocations: 11.98 kB / 0.9522 GB, free: 1.723 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 2.116e-05/0.004122, allocations: 4 kB / 0.9522 GB, free: 1.719 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.249e-05/0.004135, allocations: 0 / 0.9522 GB, free: 1.719 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001917/0.004327, allocations: 135.7 kB / 0.9523 GB, free: 1.586 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 1.139e-05/0.004338, allocations: 0 / 0.9523 GB, free: 1.586 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 2.295e-05/0.004361, allocations: 11.94 kB / 0.9523 GB, free: 1.574 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0001513/0.004512, allocations: 95.73 kB / 0.9524 GB, free: 1.48 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 2.575e-06/0.004515, allocations: 0 / 0.9524 GB, free: 1.48 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.172e-06/0.004516, allocations: 0 / 0.9524 GB, free: 1.48 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 3.737e-06/0.00452, allocations: 3.938 kB / 0.9524 GB, free: 1.477 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.0003767/0.004897, allocations: 278.2 kB / 0.9527 GB, free: 1.172 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.757e-05/0.004934, allocations: 12.03 kB / 0.9527 GB, free: 1.16 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.785e-05/0.004992, allocations: 30.75 kB / 0.9527 GB, free: 1.121 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.508e-05/0.005017, allocations: 0.9375 kB / 0.9527 GB, free: 1.121 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.231e-05/0.005089, allocations: 113.7 kB / 0.9528 GB, free: 0.9844 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.225e-05/0.005102, allocations: 4.375 kB / 0.9528 GB, free: 0.9805 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.268e-06/0.005111, allocations: 4.375 kB / 0.9528 GB, free: 0.9766 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9e-05/0.005201, allocations: 38.19 kB / 0.9529 GB, free: 0.9336 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.635e-06/0.005208, allocations: 4.125 kB / 0.9529 GB, free: 0.9297 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.904e-06/0.005216, allocations: 4.375 kB / 0.9529 GB, free: 0.9258 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.602e-06/0.005223, allocations: 8.125 kB / 0.9529 GB, free: 0.918 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.132e-05/0.005244, allocations: 8 kB / 0.9529 GB, free: 0.9102 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002508/0.005495, allocations: 212.1 kB / 0.9531 GB, free: 0.6602 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 6.724e-05/0.005562, allocations: 34.56 kB / 0.9531 GB, free: 0.6172 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.096e-05/0.005583, allocations: 12.8 kB / 0.9532 GB, free: 0.6016 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 9.378e-06/0.005593, allocations: 4 kB / 0.9532 GB, free: 0.5977 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001175/0.00571, allocations: 63.42 kB / 0.9532 GB, free: 0.5234 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=5): time 1.463e-06/0.005712, allocations: 4 kB / 0.9532 GB, free: 0.5195 MB / 0.9011 GB Notification: Performance of matching and sorting (n=5): time 0.0001672/0.005879, allocations: 69.69 kB / 0.9533 GB, free: 456 kB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.36e-05/0.005912, allocations: 51.41 kB / 0.9533 GB, free: 392 kB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.49e-05/0.005967, allocations: 101.8 kB / 0.9534 GB, free: 280 kB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 1.154e-05/0.005979, allocations: 29.7 kB / 0.9535 GB, free: 244 kB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 2.359e-05/0.006002, allocations: 88.12 kB / 0.9535 GB, free: 152 kB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 1.348e-05/0.006016, allocations: 7.906 kB / 0.9536 GB, free: 144 kB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.972e-05/0.006046, allocations: 29.7 kB / 0.9536 GB, free: 108 kB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 7.94e-05/0.006125, allocations: 310.8 kB / 0.9539 GB, free: 15.79 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.865e-05/0.006144, allocations: 12.12 kB / 0.9539 GB, free: 15.78 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.971e-05/0.006173, allocations: 39.42 kB / 0.9539 GB, free: 15.73 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.079e-05/0.006264, allocations: 67.48 kB / 0.954 GB, free: 15.65 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.006266, allocations: 0 / 0.954 GB, free: 15.65 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.000263/0.006529, allocations: 107.2 kB / 0.9541 GB, free: 15.54 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.57e-05/0.006545, allocations: 4 kB / 0.9541 GB, free: 15.53 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.006552, allocations: 8.047 kB / 0.9541 GB, free: 15.52 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.236e-05/0.006624, allocations: 12.86 kB / 0.9541 GB, free: 15.51 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.304e-05/0.006677, allocations: 12 kB / 0.9541 GB, free: 15.5 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007366/0.007414, allocations: 1.366 MB / 0.9555 GB, free: 14.02 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.043e-05/0.007434, allocations: 7.969 kB / 0.9555 GB, free: 14.01 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.862e-06/0.00744, allocations: 0 / 0.9555 GB, free: 14.01 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 8.052e-05/0.00752, allocations: 118.3 kB / 0.9556 GB, free: 13.88 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.023e-05/0.007531, allocations: 15.88 kB / 0.9556 GB, free: 13.87 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.153e-05/0.007542, allocations: 3.812 kB / 0.9556 GB, free: 13.86 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.52e-07/0.007543, allocations: 0 / 0.9556 GB, free: 13.86 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.42e-07/0.007544, allocations: 0 / 0.9556 GB, free: 13.86 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.007547, allocations: 3.938 kB / 0.9556 GB, free: 13.86 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000178/0.007725, allocations: 281.5 kB / 0.9559 GB, free: 13.54 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.007726, allocations: 0 / 0.9559 GB, free: 13.54 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.573e-05/0.007742, allocations: 4 kB / 0.9559 GB, free: 13.53 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.353e-06/0.007743, allocations: 0 / 0.9559 GB, free: 13.53 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.122e-06/0.007749, allocations: 4 kB / 0.9559 GB, free: 13.53 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.007751, allocations: 4 kB / 0.9559 GB, free: 13.52 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.007752, allocations: 0 / 0.9559 GB, free: 13.52 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.532e-05/0.007848, allocations: 167.4 kB / 0.956 GB, free: 13.34 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 4.628e-06/0.007852, allocations: 4 kB / 0.9561 GB, free: 13.34 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.611e-06/0.007858, allocations: 96 / 0.9561 GB, free: 13.34 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.952e-05/0.007887, allocations: 0 / 0.9561 GB, free: 13.34 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.813e-05/0.007905, allocations: 3.984 kB / 0.9561 GB, free: 13.34 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.883e-06/0.007912, allocations: 7.984 kB / 0.9561 GB, free: 13.33 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 2.154e-05/0.007934, allocations: 75.28 kB / 0.9561 GB, free: 13.25 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.007934, allocations: 4.094 kB / 0.9561 GB, free: 13.25 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0002336/0.008168, allocations: 31.94 kB / 0.9562 GB, free: 13.22 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.0005072/0.008675, allocations: 0.7886 MB / 0.9569 GB, free: 12.42 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.000205/0.00888, allocations: 142.6 kB / 0.9571 GB, free: 12.27 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.008881, allocations: 0 / 0.9571 GB, free: 12.27 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 2.304e-05/0.008904, allocations: 20.05 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.0001399/0.009044, allocations: 8.156 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.0008533/0.009897, allocations: 1.334 MB / 0.9584 GB, free: 10.8 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.032e-05/0.009938, allocations: 59.42 kB / 0.9585 GB, free: 10.72 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 1.883e-05/0.009957, allocations: 7.984 kB / 0.9585 GB, free: 10.71 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.669e-05/0.009983, allocations: 8.5 kB / 0.9585 GB, free: 10.7 MB / 0.9167 GB Notification: Performance of SimCode: time 9.62e-07/0.009984, allocations: 0 / 0.9585 GB, free: 10.7 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01633/0.02631, allocations: 2.724 MB / 0.9611 GB, free: 8.121 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.091/7.118, allocations: 14.75 kB / 0.9612 GB, free: 8.113 MB / 0.9167 GB " [Timeout remaining time 293] (rm -f Buildings_11_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.pipe ; mkfifo Buildings_11_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.pipe >> ../files/Buildings_11_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_11_Buildings_Occupants_BaseClasses_Validation_ExponentialVariableGeneration.fmu > Buildings_11_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_BaseClasses_Validation_ExponentialVariableGeneration.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.234084813855588]