Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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: translateModel(Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_10_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration") translateModel(Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_10_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008374/0.008375, allocations: 98.52 kB / 15.73 MB, free: 6.055 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.00192/0.00192, allocations: 195.7 kB / 16.68 MB, free: 5.969 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.378/1.378, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.578/2.578, allocations: 437 MB / 0.7105 GB, free: 4.441 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001263/0.001263, allocations: 67.84 kB / 1.018 GB, free: 9.473 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8123/0.8136, allocations: 151.6 MB / 1.167 GB, free: 3.855 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration): time 0.002154/0.8158, allocations: 1.2 MB / 1.168 GB, free: 2.645 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0007441/0.8165, allocations: 403 kB / 1.168 GB, free: 2.254 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.171e-05/0.8166, allocations: 0 / 1.168 GB, free: 2.254 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 1.94e-05/0.8166, allocations: 0 / 1.168 GB, free: 2.254 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 3.08e-05/0.8166, allocations: 3.938 kB / 1.168 GB, free: 2.25 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004572/0.8171, allocations: 91.72 kB / 1.168 GB, free: 2.16 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 6.493e-05/0.8172, allocations: 27.91 kB / 1.168 GB, free: 2.133 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 3.763e-05/0.8172, allocations: 0 / 1.168 GB, free: 2.133 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 2.09e-05/0.8172, allocations: 11.92 kB / 1.168 GB, free: 2.121 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 2.478e-05/0.8173, allocations: 7.938 kB / 1.168 GB, free: 2.113 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.212e-05/0.8173, allocations: 4 kB / 1.168 GB, free: 2.109 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001904/0.8175, allocations: 83.91 kB / 1.168 GB, free: 2.027 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 1.517e-05/0.8175, allocations: 11.92 kB / 1.168 GB, free: 2.016 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 2.475e-05/0.8175, allocations: 7.938 kB / 1.168 GB, free: 2.008 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001628/0.8177, allocations: 83.39 kB / 1.168 GB, free: 1.93 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.486e-06/0.8177, allocations: 0 / 1.168 GB, free: 1.93 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.072e-06/0.8177, allocations: 0 / 1.168 GB, free: 1.93 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 4.499e-06/0.8177, allocations: 4 kB / 1.168 GB, free: 1.926 MB / 0.8887 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.0004372/0.8182, allocations: 352.2 kB / 1.169 GB, free: 1.531 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.55e-05/0.8182, allocations: 8.625 kB / 1.169 GB, free: 1.523 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.348e-05/0.8183, allocations: 8.938 kB / 1.169 GB, free: 1.516 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000108/0.8184, allocations: 164.3 kB / 1.169 GB, free: 1.316 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.27e-05/0.8184, allocations: 384 / 1.169 GB, free: 1.316 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.124e-05/0.8184, allocations: 4.375 kB / 1.169 GB, free: 1.312 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.357e-05/0.8185, allocations: 38.25 kB / 1.169 GB, free: 1.27 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.336e-06/0.8185, allocations: 4.188 kB / 1.169 GB, free: 1.266 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.277e-06/0.8185, allocations: 7.875 kB / 1.169 GB, free: 1.258 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.8185, allocations: 0 / 1.169 GB, free: 1.258 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.81e-05/0.8186, allocations: 7.984 kB / 1.169 GB, free: 1.25 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001718/0.8188, allocations: 153.7 kB / 1.169 GB, free: 1.051 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 6.451e-05/0.8188, allocations: 26.58 kB / 1.169 GB, free: 1.016 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.428e-05/0.8189, allocations: 12.98 kB / 1.169 GB, free: 1 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 1.077e-05/0.8189, allocations: 4 kB / 1.169 GB, free: 0.9961 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001261/0.819, allocations: 59.34 kB / 1.169 GB, free: 0.9258 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=4): time 1.513e-06/0.819, allocations: 0 / 1.169 GB, free: 0.9258 MB / 0.8887 GB Notification: Performance of matching and sorting (n=4): time 0.000183/0.8192, allocations: 77.56 kB / 1.169 GB, free: 0.8438 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.221e-05/0.8193, allocations: 51.41 kB / 1.169 GB, free: 0.7812 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.567e-05/0.8193, allocations: 97.84 kB / 1.169 GB, free: 0.6758 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.865e-05/0.8194, allocations: 29.83 kB / 1.17 GB, free: 0.6406 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 3.357e-05/0.8194, allocations: 88.14 kB / 1.17 GB, free: 0.5508 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 1.946e-05/0.8194, allocations: 3.953 kB / 1.17 GB, free: 0.5469 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.44e-05/0.8195, allocations: 17.72 kB / 1.17 GB, free: 0.5234 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001148/0.8196, allocations: 322.8 kB / 1.17 GB, free: 204 kB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.951e-05/0.8196, allocations: 4 kB / 1.17 GB, free: 200 kB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.957e-05/0.8196, allocations: 43.34 kB / 1.17 GB, free: 144 kB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.165e-05/0.8197, allocations: 47.61 kB / 1.17 GB, free: 84 kB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.556e-06/0.8197, allocations: 3.938 kB / 1.17 GB, free: 80 kB / 0.8887 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000105/0.8198, allocations: 69.56 kB / 1.17 GB, free: 4 kB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 2.772e-05/0.8199, allocations: 7.984 kB / 1.17 GB, free: 15.99 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.8199, allocations: 3.938 kB / 1.17 GB, free: 15.99 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.244e-05/0.8199, allocations: 8.094 kB / 1.17 GB, free: 15.98 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.033e-05/0.82, allocations: 7.938 kB / 1.17 GB, free: 15.98 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.833e-06/0.82, allocations: 4 kB / 1.17 GB, free: 15.97 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.434e-05/0.82, allocations: 3.953 kB / 1.17 GB, free: 15.97 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.098e-06/0.82, allocations: 4 kB / 1.17 GB, free: 15.96 MB / 0.9044 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 (y,$PRE.y,curSeed,$PRE.curSeed,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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 7.047e-05/0.8201, allocations: 113.8 kB / 1.17 GB, free: 15.84 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.339e-05/0.8201, allocations: 7.938 kB / 1.17 GB, free: 15.84 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.142e-05/0.8201, allocations: 3.5 kB / 1.17 GB, free: 15.82 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.233e-06/0.8201, allocations: 0 / 1.17 GB, free: 15.82 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.287e-06/0.8202, allocations: 4 kB / 1.17 GB, free: 15.82 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.97e-06/0.8202, allocations: 3.984 kB / 1.17 GB, free: 15.82 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001124/0.8203, allocations: 153.6 kB / 1.17 GB, free: 15.62 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.355e-06/0.8203, allocations: 3.984 kB / 1.17 GB, free: 15.61 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.573e-05/0.8203, allocations: 4 kB / 1.17 GB, free: 15.61 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.955e-06/0.8203, allocations: 3.938 kB / 1.17 GB, free: 15.61 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.174e-06/0.8203, allocations: 0 / 1.17 GB, free: 15.61 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.765e-06/0.8203, allocations: 4.156 kB / 1.17 GB, free: 15.6 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.8203, allocations: 0 / 1.17 GB, free: 15.6 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001252/0.8205, allocations: 93.05 kB / 1.17 GB, free: 15.49 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 3.2e-05/0.8205, allocations: 81.06 kB / 1.171 GB, free: 15.39 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.41e-05/0.8205, allocations: 3.938 kB / 1.171 GB, free: 15.39 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.968e-05/0.8206, allocations: 0 / 1.171 GB, free: 15.39 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.016e-05/0.8206, allocations: 8 kB / 1.171 GB, free: 15.38 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.492e-06/0.8206, allocations: 3.984 kB / 1.171 GB, free: 15.38 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 3.558e-05/0.8206, allocations: 75.28 kB / 1.171 GB, free: 15.3 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8206, allocations: 0 / 1.171 GB, free: 15.3 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002376/0.8209, allocations: 32.03 kB / 1.171 GB, free: 15.27 MB / 0.9044 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 (4): * Single equations (assignments): 2 * 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.0003076/0.8212, allocations: 170.7 kB / 1.171 GB, free: 15.11 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0001016/0.8213, allocations: 27.92 kB / 1.171 GB, free: 15.08 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.8213, allocations: 0 / 1.171 GB, free: 15.08 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 3.486e-05/0.8214, allocations: 15.98 kB / 1.171 GB, free: 15.07 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001363/0.8215, allocations: 7.812 kB / 1.171 GB, free: 15.06 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002103/0.8217, allocations: 96.89 kB / 1.171 GB, free: 14.94 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002492/0.822, allocations: 0.6768 MB / 1.172 GB, free: 14.24 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 2.134e-05/0.822, allocations: 4 kB / 1.172 GB, free: 14.23 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.45e-05/0.822, allocations: 7.438 kB / 1.172 GB, free: 14.23 MB / 0.9044 GB Notification: Performance of SimCode: time 2.51e-07/0.822, allocations: 0 / 1.172 GB, free: 14.23 MB / 0.9044 GB Notification: Performance of Templates: time 0.00308/0.8251, allocations: 0.9722 MB / 1.173 GB, free: 13.25 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.makefile (rm -f Buildings_10_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.pipe ; mkfifo Buildings_10_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.pipe >> ../files/Buildings_10_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.sim & ./Buildings_10_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_BaseClasses_Validation_ExponentialVariableGeneration.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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:seed,t0,time,y