Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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_9_Buildings_Occupants_BaseClasses_Validation_ExponentialVariableGeneration",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration,fileNamePrefix="Buildings_9_Buildings_Occupants_BaseClasses_Validation_ExponentialVariableGeneration",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008659/0.0008659, allocations: 98.03 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.005016/0.005016, allocations: 168.9 kB / 16.26 MB, free: 6.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.182/1.182, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.047/2.047, allocations: 390.9 MB / 0.6664 GB, free: 2.355 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0002821/0.0002821, allocations: 12 kB / 0.8161 GB, free: 13.13 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5056/0.5058, allocations: 142.4 MB / 0.9552 GB, free: 7.691 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration): time 0.0009309/0.5068, allocations: 0.9358 MB / 0.9561 GB, free: 6.938 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0006289/0.5075, allocations: 400.9 kB / 0.9565 GB, free: 6.648 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.459e-05/0.5075, allocations: 0 / 0.9565 GB, free: 6.648 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.339e-05/0.5075, allocations: 0 / 0.9565 GB, free: 6.648 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 2.679e-05/0.5075, allocations: 3.984 kB / 0.9565 GB, free: 6.645 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003534/0.5079, allocations: 73.53 kB / 0.9565 GB, free: 6.598 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 3.469e-05/0.508, allocations: 18.27 kB / 0.9565 GB, free: 6.586 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.37e-05/0.508, allocations: 5.141 kB / 0.9565 GB, free: 6.582 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 1.738e-05/0.508, allocations: 4.312 kB / 0.9566 GB, free: 6.582 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 2.117e-05/0.508, allocations: 14.27 kB / 0.9566 GB, free: 6.57 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.008e-05/0.5081, allocations: 1.156 kB / 0.9566 GB, free: 6.57 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001558/0.5082, allocations: 91.09 kB / 0.9567 GB, free: 6.52 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.033e-05/0.5082, allocations: 1.469 kB / 0.9567 GB, free: 6.52 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.545e-05/0.5083, allocations: 32.47 kB / 0.9567 GB, free: 6.484 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001303/0.5084, allocations: 84.62 kB / 0.9568 GB, free: 6.434 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.826e-06/0.5084, allocations: 0 / 0.9568 GB, free: 6.434 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.463e-06/0.5084, allocations: 4 kB / 0.9568 GB, free: 6.43 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.246e-06/0.5084, allocations: 1.219 kB / 0.9568 GB, free: 6.43 MB / 0.7169 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.0002695/0.5087, allocations: 338.1 kB / 0.9571 GB, free: 6.059 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.454e-05/0.5087, allocations: 9.594 kB / 0.9571 GB, free: 6.059 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.292e-05/0.5088, allocations: 36.09 kB / 0.9571 GB, free: 6.016 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.992e-05/0.5088, allocations: 2.156 kB / 0.9571 GB, free: 6.016 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.447e-05/0.5089, allocations: 168.2 kB / 0.9573 GB, free: 5.816 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.678e-06/0.5089, allocations: 1.531 kB / 0.9573 GB, free: 5.816 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.001e-05/0.5089, allocations: 14.62 kB / 0.9573 GB, free: 5.805 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.579e-05/0.509, allocations: 36.69 kB / 0.9574 GB, free: 5.77 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.953e-06/0.509, allocations: 3.938 kB / 0.9574 GB, free: 5.766 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.775e-06/0.509, allocations: 0 / 0.9574 GB, free: 5.766 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.349e-06/0.509, allocations: 0.9375 kB / 0.9574 GB, free: 5.766 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.337e-05/0.509, allocations: 11.7 kB / 0.9574 GB, free: 5.758 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002208/0.5093, allocations: 240.5 kB / 0.9576 GB, free: 5.484 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 5.975e-05/0.5093, allocations: 45.31 kB / 0.9576 GB, free: 5.441 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.502e-05/0.5094, allocations: 22.8 kB / 0.9577 GB, free: 5.422 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 8.746e-06/0.5094, allocations: 1.5 kB / 0.9577 GB, free: 5.422 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.795e-05/0.5095, allocations: 56.47 kB / 0.9577 GB, free: 5.363 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=5): time 1.162e-06/0.5095, allocations: 0 / 0.9577 GB, free: 5.363 MB / 0.7169 GB Notification: Performance of matching and sorting (n=5): time 0.0001527/0.5097, allocations: 85.14 kB / 0.9578 GB, free: 5.301 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.082e-05/0.5097, allocations: 53.34 kB / 0.9578 GB, free: 5.238 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.786e-05/0.5097, allocations: 92.42 kB / 0.9579 GB, free: 5.141 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.915e-06/0.5097, allocations: 30.92 kB / 0.958 GB, free: 5.105 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.099e-05/0.5098, allocations: 80.14 kB / 0.958 GB, free: 5.023 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.357e-05/0.5098, allocations: 18.08 kB / 0.9581 GB, free: 5.008 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.051e-05/0.5098, allocations: 12.88 kB / 0.9581 GB, free: 4.992 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.257e-05/0.5098, allocations: 316.2 kB / 0.9584 GB, free: 4.676 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.768e-05/0.5099, allocations: 12.48 kB / 0.9584 GB, free: 4.668 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.585e-05/0.5099, allocations: 32.09 kB / 0.9584 GB, free: 4.633 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.644e-05/0.5099, allocations: 50.42 kB / 0.9585 GB, free: 4.586 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.5099, allocations: 3.938 kB / 0.9585 GB, free: 4.582 MB / 0.7169 GB Notification: Performance of matching and sorting (n=8) (initialization): time 8.218e-05/0.51, allocations: 78.81 kB / 0.9585 GB, free: 4.523 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.089e-05/0.51, allocations: 5.5 kB / 0.9585 GB, free: 4.523 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.119e-06/0.5101, allocations: 5.641 kB / 0.9586 GB, free: 4.52 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.458e-06/0.5101, allocations: 0 / 0.9586 GB, free: 4.52 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.336e-05/0.5101, allocations: 7.781 kB / 0.9586 GB, free: 4.52 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.819e-06/0.5101, allocations: 1.406 kB / 0.9586 GB, free: 4.52 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.378e-05/0.5102, allocations: 5.719 kB / 0.9586 GB, free: 4.516 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.424e-06/0.5102, allocations: 3.875 kB / 0.9586 GB, free: 4.516 MB / 0.7169 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.263e-05/0.5102, allocations: 120.8 kB / 0.9587 GB, free: 4.391 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.934e-06/0.5102, allocations: 4.062 kB / 0.9587 GB, free: 4.387 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.751e-05/0.5103, allocations: 9.047 kB / 0.9587 GB, free: 4.379 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.5103, allocations: 0 / 0.9587 GB, free: 4.379 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.506e-06/0.5103, allocations: 5.438 kB / 0.9587 GB, free: 4.375 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.104e-06/0.5103, allocations: 0 / 0.9587 GB, free: 4.375 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001494/0.5104, allocations: 301.6 kB / 0.959 GB, free: 4.051 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.5104, allocations: 0 / 0.959 GB, free: 4.051 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.945e-05/0.5105, allocations: 7.047 kB / 0.959 GB, free: 4.047 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.5105, allocations: 0 / 0.959 GB, free: 4.047 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.812e-06/0.5105, allocations: 5.25 kB / 0.959 GB, free: 4.043 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.5105, allocations: 5.5 kB / 0.959 GB, free: 4.039 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.5105, allocations: 3.984 kB / 0.959 GB, free: 4.035 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.727e-05/0.5106, allocations: 163.5 kB / 0.9592 GB, free: 3.883 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.433e-05/0.5106, allocations: 86.28 kB / 0.9593 GB, free: 3.781 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.152e-05/0.5106, allocations: 5.281 kB / 0.9593 GB, free: 3.777 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.961e-05/0.5107, allocations: 0 / 0.9593 GB, free: 3.777 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.838e-05/0.5107, allocations: 2.656 kB / 0.9593 GB, free: 3.777 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.851e-06/0.5107, allocations: 5.688 kB / 0.9593 GB, free: 3.773 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.518e-05/0.5107, allocations: 76.94 kB / 0.9593 GB, free: 3.699 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.5107, allocations: 0 / 0.9593 GB, free: 3.699 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002655/0.511, allocations: 36.64 kB / 0.9594 GB, free: 3.684 MB / 0.7169 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.0004288/0.5114, allocations: 0.7623 MB / 0.9601 GB, free: 2.98 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 7.81e-05/0.5115, allocations: 31.23 kB / 0.9601 GB, free: 2.969 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.332e-06/0.5115, allocations: 0 / 0.9601 GB, free: 2.969 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 2.707e-05/0.5116, allocations: 12.78 kB / 0.9602 GB, free: 2.965 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001888/0.5118, allocations: 14.48 kB / 0.9602 GB, free: 2.953 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006379/0.5124, allocations: 1.251 MB / 0.9614 GB, free: 1.684 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.528e-05/0.5125, allocations: 0.6823 MB / 0.9621 GB, free: 0.9805 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 1.904e-05/0.5125, allocations: 2.75 kB / 0.9621 GB, free: 0.9805 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.939e-05/0.5125, allocations: 14.06 kB / 0.9621 GB, free: 0.9688 MB / 0.7169 GB Notification: Performance of SimCode: time 3.2e-07/0.5126, allocations: 4 kB / 0.9621 GB, free: 0.9648 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01626/0.5288, allocations: 1.662 MB / 0.9637 GB, free: 200 kB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002189/0.529, allocations: 269.8 kB / 0.964 GB, free: 15.84 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.416/1.945, allocations: 1.219 kB / 0.964 GB, free: 15.84 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.pipe ; mkfifo Buildings_9_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.pipe >> ../files/Buildings_9_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration_res.mat --tempDir=temp_Buildings_9_Buildings_Occupants_BaseClasses_Validation_ExponentialVariableGeneration_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Occupants_BaseClasses_Validation_ExponentialVariableGeneration.fmu > Buildings_9_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_BaseClasses_Validation_ExponentialVariableGeneration.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,y Variables in the result:mu,seed,time,y