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.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.001515/0.001515, allocations: 109 kB / 17.54 MB, free: 4.781 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.001456/0.001456, allocations: 189.9 kB / 20.71 MB, free: 1.625 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.307/1.307, allocations: 225.6 MB / 249.3 MB, free: 3.215 MB / 190.1 MB " [Timeout remaining time 178] 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.509/2.509, allocations: 476.7 MB / 0.7628 GB, free: 15.25 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.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 0.001826/0.001826, allocations: 63.89 kB / 1.107 GB, free: 5.297 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7724/0.7743, allocations: 168.7 MB / 1.271 GB, free: 7.754 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration): time 0.001796/0.7761, allocations: 1.23 MB / 1.273 GB, free: 6.926 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0006368/0.7767, allocations: 406.8 kB / 1.273 GB, free: 6.676 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.936e-05/0.7767, allocations: 4.812 kB / 1.273 GB, free: 6.672 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 1.472e-05/0.7767, allocations: 0 / 1.273 GB, free: 6.672 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 2.387e-05/0.7767, allocations: 0 / 1.273 GB, free: 6.672 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004054/0.7772, allocations: 102.1 kB / 1.273 GB, free: 6.621 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 5.188e-05/0.7772, allocations: 15.86 kB / 1.273 GB, free: 6.617 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.181e-05/0.7772, allocations: 6.422 kB / 1.273 GB, free: 6.613 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.8e-05/0.7773, allocations: 4.812 kB / 1.273 GB, free: 6.613 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 2.386e-05/0.7773, allocations: 12.14 kB / 1.273 GB, free: 6.605 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.004e-05/0.7773, allocations: 1.656 kB / 1.273 GB, free: 6.605 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001902/0.7775, allocations: 100.6 kB / 1.273 GB, free: 6.574 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.313e-05/0.7775, allocations: 5.922 kB / 1.273 GB, free: 6.57 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 2.126e-05/0.7775, allocations: 6.859 kB / 1.273 GB, free: 6.566 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001521/0.7777, allocations: 82.92 kB / 1.273 GB, free: 6.543 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.347e-06/0.7777, allocations: 0.8125 kB / 1.273 GB, free: 6.543 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.152e-06/0.7777, allocations: 0 / 1.273 GB, free: 6.543 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 3.717e-06/0.7777, allocations: 0 / 1.273 GB, free: 6.543 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.0003221/0.778, allocations: 351.9 kB / 1.274 GB, free: 6.168 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.377e-05/0.778, allocations: 10.27 kB / 1.274 GB, free: 6.168 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.781e-05/0.7781, allocations: 33.03 kB / 1.274 GB, free: 6.129 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.329e-05/0.7781, allocations: 6.359 kB / 1.274 GB, free: 6.125 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.763e-05/0.7781, allocations: 170.5 kB / 1.274 GB, free: 5.922 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.987e-06/0.7782, allocations: 6.422 kB / 1.274 GB, free: 5.918 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.163e-05/0.7782, allocations: 2.594 kB / 1.274 GB, free: 5.918 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.974e-05/0.7782, allocations: 41.39 kB / 1.274 GB, free: 5.883 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.754e-06/0.7783, allocations: 3.938 kB / 1.274 GB, free: 5.879 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.865e-06/0.7783, allocations: 1.344 kB / 1.274 GB, free: 5.879 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.757e-06/0.7783, allocations: 0.8438 kB / 1.274 GB, free: 5.879 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.482e-05/0.7783, allocations: 9.312 kB / 1.274 GB, free: 5.875 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002188/0.7785, allocations: 239.4 kB / 1.274 GB, free: 5.609 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 6.61e-05/0.7786, allocations: 38.69 kB / 1.274 GB, free: 5.574 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.555e-05/0.7786, allocations: 19.92 kB / 1.274 GB, free: 5.559 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 5e-06/0.7786, allocations: 0.9062 kB / 1.274 GB, free: 5.559 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.624e-05/0.7787, allocations: 55.3 kB / 1.274 GB, free: 5.508 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=5): time 1.223e-06/0.7787, allocations: 0.7812 kB / 1.274 GB, free: 5.508 MB / 0.9981 GB Notification: Performance of matching and sorting (n=5): time 0.0001608/0.7789, allocations: 76.42 kB / 1.274 GB, free: 5.461 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.935e-05/0.7789, allocations: 53.22 kB / 1.274 GB, free: 5.398 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.691e-05/0.7789, allocations: 98.09 kB / 1.274 GB, free: 5.297 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 7.363e-06/0.7789, allocations: 29.7 kB / 1.274 GB, free: 5.262 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 1.121e-05/0.7789, allocations: 81.02 kB / 1.275 GB, free: 5.18 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.313e-05/0.779, allocations: 16.95 kB / 1.275 GB, free: 5.168 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.754e-05/0.779, allocations: 19.69 kB / 1.275 GB, free: 5.148 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.078e-05/0.779, allocations: 313.8 kB / 1.275 GB, free: 4.836 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.999e-05/0.779, allocations: 10.95 kB / 1.275 GB, free: 4.832 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.747e-05/0.7791, allocations: 39.22 kB / 1.275 GB, free: 4.793 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.566e-05/0.7791, allocations: 46.88 kB / 1.275 GB, free: 4.75 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.724e-06/0.7791, allocations: 3.938 kB / 1.275 GB, free: 4.746 MB / 0.9981 GB Notification: Performance of matching and sorting (n=8) (initialization): time 8.646e-05/0.7792, allocations: 76.83 kB / 1.275 GB, free: 4.695 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.148e-05/0.7792, allocations: 6.328 kB / 1.275 GB, free: 4.695 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.038e-06/0.7792, allocations: 4.906 kB / 1.275 GB, free: 4.691 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.346e-05/0.7792, allocations: 11.25 kB / 1.275 GB, free: 4.684 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.333e-05/0.7793, allocations: 7.875 kB / 1.275 GB, free: 4.684 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.45e-06/0.7793, allocations: 2 kB / 1.275 GB, free: 4.684 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.346e-05/0.7793, allocations: 8.844 kB / 1.275 GB, free: 4.676 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.005e-06/0.7793, allocations: 5.516 kB / 1.275 GB, free: 4.676 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 3.906e-05/0.7794, allocations: 117.3 kB / 1.275 GB, free: 4.555 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.949e-06/0.7794, allocations: 1.938 kB / 1.275 GB, free: 4.555 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.812e-05/0.7794, allocations: 11.56 kB / 1.275 GB, free: 4.543 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.7794, allocations: 0.9688 kB / 1.275 GB, free: 4.543 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.105e-06/0.7794, allocations: 4.812 kB / 1.275 GB, free: 4.539 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.7794, allocations: 0.5625 kB / 1.275 GB, free: 4.539 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001421/0.7795, allocations: 304.7 kB / 1.276 GB, free: 4.223 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.71e-07/0.7795, allocations: 0 / 1.276 GB, free: 4.223 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.812e-05/0.7795, allocations: 2.906 kB / 1.276 GB, free: 4.223 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.302e-06/0.7796, allocations: 0.7812 kB / 1.276 GB, free: 4.223 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.971e-06/0.7796, allocations: 1.031 kB / 1.276 GB, free: 4.223 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.7796, allocations: 1.031 kB / 1.276 GB, free: 4.223 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.7796, allocations: 6.531 kB / 1.276 GB, free: 4.219 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.656e-05/0.7796, allocations: 168.1 kB / 1.276 GB, free: 4.066 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.215e-05/0.7797, allocations: 78.14 kB / 1.276 GB, free: 3.973 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.073e-05/0.7797, allocations: 3.484 kB / 1.276 GB, free: 3.973 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.932e-05/0.7797, allocations: 0.75 kB / 1.276 GB, free: 3.973 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.962e-05/0.7797, allocations: 5.781 kB / 1.276 GB, free: 3.969 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.721e-06/0.7797, allocations: 2.594 kB / 1.276 GB, free: 3.969 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 1.556e-05/0.7798, allocations: 81.03 kB / 1.276 GB, free: 3.891 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8e-08/0.7798, allocations: 0 / 1.276 GB, free: 3.891 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002563/0.78, allocations: 35.3 kB / 1.276 GB, free: 3.879 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.0004365/0.7805, allocations: 0.7545 MB / 1.277 GB, free: 3.188 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 9.286e-05/0.7805, allocations: 38.25 kB / 1.277 GB, free: 3.176 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.383e-06/0.7805, allocations: 3.938 kB / 1.277 GB, free: 3.172 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 2.703e-05/0.7806, allocations: 11.47 kB / 1.277 GB, free: 3.168 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001804/0.7808, allocations: 14.66 kB / 1.277 GB, free: 3.156 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007001/0.7815, allocations: 1.255 MB / 1.278 GB, free: 17.91 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002625/0.7817, allocations: 0.6777 MB / 1.279 GB, free: 17.22 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 1.753e-05/0.7817, allocations: 2.812 kB / 1.279 GB, free: 17.22 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.261e-05/0.7818, allocations: 15.34 kB / 1.279 GB, free: 17.21 MB / 1.014 GB Notification: Performance of SimCode: time 3.6e-07/0.7818, allocations: 0.8125 kB / 1.279 GB, free: 17.21 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02268/0.8044, allocations: 1.893 MB / 1.28 GB, free: 16.74 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.033/7.837, allocations: 13.42 kB / 1.28 GB, free: 16.74 MB / 1.014 GB " [Timeout remaining time 292] (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/jenkins1/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] "" Variables in the reference:time,y Variables in the result:time,y [Calling sys.exit(0), Time elapsed: 13.214403899997706]