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.001354/0.001354, allocations: 114.7 kB / 17.6 MB, free: 4.668 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.001408/0.001408, allocations: 189.9 kB / 20.78 MB, free: 1.5 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.462/1.462, allocations: 225.6 MB / 249.4 MB, free: 3.176 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.817/2.817, allocations: 476.7 MB / 0.7629 GB, free: 15.12 MB / 0.6075 GB " [Timeout remaining time 176] 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.001997/0.001997, allocations: 64.08 kB / 1.107 GB, free: 5.113 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9761/0.9781, allocations: 168.7 MB / 1.271 GB, free: 7.695 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration): time 0.002456/0.9805, allocations: 1.226 MB / 1.273 GB, free: 6.852 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001216/0.9818, allocations: 406.4 kB / 1.273 GB, free: 6.602 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.302e-05/0.9818, allocations: 0 / 1.273 GB, free: 6.602 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.144e-05/0.9818, allocations: 0 / 1.273 GB, free: 6.602 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 4.303e-05/0.9819, allocations: 0.7812 kB / 1.273 GB, free: 6.602 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007163/0.9826, allocations: 98.53 kB / 1.273 GB, free: 6.555 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 8.794e-05/0.9827, allocations: 13 kB / 1.273 GB, free: 6.551 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.8e-05/0.9827, allocations: 4.156 kB / 1.273 GB, free: 6.551 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.663e-05/0.9827, allocations: 8.75 kB / 1.273 GB, free: 6.547 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.607e-05/0.9828, allocations: 16.83 kB / 1.273 GB, free: 6.535 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.492e-05/0.9828, allocations: 0.7188 kB / 1.273 GB, free: 6.535 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000278/0.9831, allocations: 101.4 kB / 1.273 GB, free: 6.504 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.04e-05/0.9831, allocations: 5.766 kB / 1.273 GB, free: 6.5 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 3.585e-05/0.9831, allocations: 7.375 kB / 1.273 GB, free: 6.496 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002249/0.9834, allocations: 81.75 kB / 1.273 GB, free: 6.473 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 7.554e-06/0.9834, allocations: 0.5625 kB / 1.273 GB, free: 6.473 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.953e-06/0.9834, allocations: 0.8125 kB / 1.273 GB, free: 6.473 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 7.264e-06/0.9834, allocations: 3.938 kB / 1.273 GB, free: 6.469 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.0005414/0.9839, allocations: 347.8 kB / 1.274 GB, free: 6.098 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.518e-05/0.984, allocations: 14.56 kB / 1.274 GB, free: 6.094 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.998e-05/0.984, allocations: 36.38 kB / 1.274 GB, free: 6.051 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.958e-05/0.9841, allocations: 7.359 kB / 1.274 GB, free: 6.047 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001306/0.9842, allocations: 163 kB / 1.274 GB, free: 5.852 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.929e-05/0.9842, allocations: 2.031 kB / 1.274 GB, free: 5.852 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.687e-05/0.9842, allocations: 2.656 kB / 1.274 GB, free: 5.852 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001267/0.9844, allocations: 42.86 kB / 1.274 GB, free: 5.816 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.085e-05/0.9844, allocations: 3.938 kB / 1.274 GB, free: 5.812 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.969e-06/0.9844, allocations: 4.844 kB / 1.274 GB, free: 5.809 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.48e-06/0.9844, allocations: 0 / 1.274 GB, free: 5.809 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.182e-05/0.9844, allocations: 9.234 kB / 1.274 GB, free: 5.805 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003857/0.9848, allocations: 238.4 kB / 1.274 GB, free: 5.539 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 9.44e-05/0.9849, allocations: 36.39 kB / 1.274 GB, free: 5.508 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.557e-05/0.985, allocations: 18.92 kB / 1.274 GB, free: 5.492 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.002e-05/0.985, allocations: 2.719 kB / 1.274 GB, free: 5.492 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001681/0.9851, allocations: 57.16 kB / 1.274 GB, free: 5.438 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=5): time 1.212e-06/0.9851, allocations: 0 / 1.274 GB, free: 5.438 MB / 0.9981 GB Notification: Performance of matching and sorting (n=5): time 0.0002653/0.9854, allocations: 73.69 kB / 1.274 GB, free: 5.395 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.069e-05/0.9854, allocations: 52.19 kB / 1.274 GB, free: 5.332 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.747e-05/0.9855, allocations: 102.4 kB / 1.275 GB, free: 5.227 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.063e-05/0.9855, allocations: 26.7 kB / 1.275 GB, free: 5.195 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 2.466e-05/0.9855, allocations: 81.23 kB / 1.275 GB, free: 5.113 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.973e-05/0.9856, allocations: 14.81 kB / 1.275 GB, free: 5.102 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.627e-05/0.9856, allocations: 22.34 kB / 1.275 GB, free: 5.082 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 7.063e-05/0.9857, allocations: 311.7 kB / 1.275 GB, free: 4.77 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.396e-05/0.9857, allocations: 16.19 kB / 1.275 GB, free: 4.762 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.525e-05/0.9858, allocations: 44.19 kB / 1.275 GB, free: 4.719 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.95e-05/0.9858, allocations: 46.2 kB / 1.275 GB, free: 4.676 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.916e-06/0.9858, allocations: 3.938 kB / 1.275 GB, free: 4.672 MB / 0.9981 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001164/0.986, allocations: 76.25 kB / 1.275 GB, free: 4.621 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.939e-05/0.986, allocations: 5.438 kB / 1.275 GB, free: 4.621 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/0.986, allocations: 1.062 kB / 1.275 GB, free: 4.621 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.057e-05/0.986, allocations: 6.219 kB / 1.275 GB, free: 4.617 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.763e-05/0.9861, allocations: 9.516 kB / 1.275 GB, free: 4.617 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.174e-05/0.9861, allocations: 5.344 kB / 1.275 GB, free: 4.613 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.296e-05/0.9861, allocations: 10.38 kB / 1.275 GB, free: 4.605 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.539e-05/0.9861, allocations: 6.219 kB / 1.275 GB, free: 4.602 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 8.471e-05/0.9862, allocations: 120.6 kB / 1.275 GB, free: 4.48 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.338e-05/0.9862, allocations: 5.969 kB / 1.275 GB, free: 4.477 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.478e-05/0.9863, allocations: 7.562 kB / 1.275 GB, free: 4.469 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.9863, allocations: 1.156 kB / 1.275 GB, free: 4.469 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.214e-06/0.9863, allocations: 4.75 kB / 1.275 GB, free: 4.465 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.9863, allocations: 0 / 1.275 GB, free: 4.465 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002456/0.9865, allocations: 293.9 kB / 1.276 GB, free: 4.156 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.9865, allocations: 1.062 kB / 1.276 GB, free: 4.156 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.115e-05/0.9866, allocations: 5.172 kB / 1.276 GB, free: 4.156 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.9866, allocations: 0.9688 kB / 1.276 GB, free: 4.156 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.097e-06/0.9866, allocations: 4.719 kB / 1.276 GB, free: 4.152 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.9866, allocations: 0.9375 kB / 1.276 GB, free: 4.152 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.9866, allocations: 0 / 1.276 GB, free: 4.152 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001432/0.9867, allocations: 169.3 kB / 1.276 GB, free: 4 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.092e-05/0.9867, allocations: 79.98 kB / 1.276 GB, free: 3.906 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.78e-05/0.9868, allocations: 1.094 kB / 1.276 GB, free: 3.906 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.394e-05/0.9868, allocations: 4.875 kB / 1.276 GB, free: 3.902 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.987e-05/0.9868, allocations: 1.719 kB / 1.276 GB, free: 3.902 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.001e-05/0.9869, allocations: 2.531 kB / 1.276 GB, free: 3.902 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 2.758e-05/0.9869, allocations: 79.48 kB / 1.276 GB, free: 3.828 MB / 0.9981 GB Notification: Performance of sort global known variables: time 6e-08/0.9869, allocations: 4.094 kB / 1.276 GB, free: 3.824 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003433/0.9872, allocations: 34 kB / 1.276 GB, free: 3.812 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.0007564/0.988, allocations: 0.7777 MB / 1.277 GB, free: 3.105 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.000149/0.9881, allocations: 33.84 kB / 1.277 GB, free: 3.094 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.9881, allocations: 0 / 1.277 GB, free: 3.094 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 4.358e-05/0.9882, allocations: 14.5 kB / 1.277 GB, free: 3.09 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002722/0.9884, allocations: 2.766 kB / 1.277 GB, free: 3.09 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001216/0.9897, allocations: 1.274 MB / 1.278 GB, free: 17.83 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003462/0.99, allocations: 0.6776 MB / 1.279 GB, free: 17.14 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 2.82e-05/0.99, allocations: 3.281 kB / 1.279 GB, free: 17.14 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.267e-05/0.9901, allocations: 12.47 kB / 1.279 GB, free: 17.13 MB / 1.014 GB Notification: Performance of SimCode: time 3e-07/0.9901, allocations: 0 / 1.279 GB, free: 17.13 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03309/1.023, allocations: 1.899 MB / 1.281 GB, free: 16.66 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.16/9.183, allocations: 11.16 kB / 1.281 GB, free: 16.66 MB / 1.014 GB " [Timeout remaining time 291] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration_res.mat --tempDir=temp_Buildings_11_Buildings_Occupants_BaseClasses_Validation_ExponentialVariableGeneration_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 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.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_BaseClasses_Validation_ExponentialVariableGeneration.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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:mu,seed,time,y [Calling sys.exit(0), Time elapsed: 15.402146409993293]