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.001366/0.001366, allocations: 105.2 kB / 16.27 MB, free: 6.414 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.001288/0.001288, allocations: 190.3 kB / 17.2 MB, free: 5.953 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.385/1.385, allocations: 222.9 MB / 240.9 MB, free: 15.27 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.533/2.533, allocations: 437.1 MB / 0.7111 GB, free: 4.551 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001958/0.001958, allocations: 68.03 kB / 0.8699 GB, free: 2.25 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3164/0.3184, allocations: 151.6 MB / 1.018 GB, free: 10.7 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration): time 0.00243/0.3209, allocations: 1.198 MB / 1.019 GB, free: 9.488 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0008608/0.3218, allocations: 416.1 kB / 1.02 GB, free: 9.082 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.293e-05/0.3218, allocations: 7.938 kB / 1.02 GB, free: 9.074 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 1.955e-05/0.3218, allocations: 0 / 1.02 GB, free: 9.074 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 3.57e-05/0.3219, allocations: 0 / 1.02 GB, free: 9.074 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005279/0.3224, allocations: 95.64 kB / 1.02 GB, free: 8.98 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 4.431e-05/0.3225, allocations: 8 kB / 1.02 GB, free: 8.973 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 3.792e-05/0.3225, allocations: 4 kB / 1.02 GB, free: 8.969 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 2.28e-05/0.3226, allocations: 15.92 kB / 1.02 GB, free: 8.953 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 2.415e-05/0.3226, allocations: 4 kB / 1.02 GB, free: 8.949 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.194e-05/0.3226, allocations: 0 / 1.02 GB, free: 8.949 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002011/0.3228, allocations: 95.84 kB / 1.02 GB, free: 8.855 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 1.681e-05/0.3228, allocations: 3.984 kB / 1.02 GB, free: 8.852 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 3.348e-05/0.3229, allocations: 11.92 kB / 1.02 GB, free: 8.84 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001732/0.323, allocations: 75.89 kB / 1.02 GB, free: 8.766 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.3231, allocations: 0 / 1.02 GB, free: 8.766 MB / 0.795 GB Notification: Performance of FrontEnd: time 3.055e-06/0.3231, allocations: 0 / 1.02 GB, free: 8.766 MB / 0.795 GB Notification: Performance of Transformations before backend: time 9.948e-06/0.3231, allocations: 7.938 kB / 1.02 GB, free: 8.758 MB / 0.795 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.0005011/0.3236, allocations: 347.5 kB / 1.02 GB, free: 8.367 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.617e-05/0.3236, allocations: 12.03 kB / 1.02 GB, free: 8.355 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.239e-05/0.3237, allocations: 0.9375 kB / 1.02 GB, free: 8.355 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001366/0.3238, allocations: 164.6 kB / 1.02 GB, free: 8.156 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.608e-05/0.3238, allocations: 4.375 kB / 1.02 GB, free: 8.152 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.293e-05/0.3239, allocations: 384 / 1.02 GB, free: 8.152 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001021/0.324, allocations: 38.25 kB / 1.02 GB, free: 8.109 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.995e-06/0.324, allocations: 4.188 kB / 1.02 GB, free: 8.105 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.253e-05/0.324, allocations: 11.92 kB / 1.02 GB, free: 8.094 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.817e-06/0.324, allocations: 0 / 1.02 GB, free: 8.094 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.024e-05/0.324, allocations: 7.984 kB / 1.02 GB, free: 8.086 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001748/0.3242, allocations: 157.6 kB / 1.021 GB, free: 7.883 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 8.211e-05/0.3243, allocations: 26.52 kB / 1.021 GB, free: 7.848 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.585e-05/0.3244, allocations: 12.98 kB / 1.021 GB, free: 7.832 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 1.081e-05/0.3244, allocations: 0 / 1.021 GB, free: 7.832 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001349/0.3245, allocations: 59.41 kB / 1.021 GB, free: 7.762 MB / 0.795 GB Notification: Performance of pre-optimization done (n=4): time 1.182e-06/0.3245, allocations: 0 / 1.021 GB, free: 7.762 MB / 0.795 GB Notification: Performance of matching and sorting (n=4): time 0.0002047/0.3247, allocations: 77.45 kB / 1.021 GB, free: 7.68 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.792e-05/0.3248, allocations: 51.41 kB / 1.021 GB, free: 7.617 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.323e-05/0.3249, allocations: 101.8 kB / 1.021 GB, free: 7.508 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.001e-05/0.3249, allocations: 25.7 kB / 1.021 GB, free: 7.477 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 3.861e-05/0.3249, allocations: 84.27 kB / 1.021 GB, free: 7.391 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 3.601e-05/0.325, allocations: 11.89 kB / 1.021 GB, free: 7.379 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.577e-05/0.325, allocations: 21.72 kB / 1.021 GB, free: 7.352 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001354/0.3252, allocations: 314.8 kB / 1.021 GB, free: 7.035 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.074e-05/0.3252, allocations: 8 kB / 1.021 GB, free: 7.027 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.25e-05/0.3252, allocations: 35.36 kB / 1.021 GB, free: 6.98 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.959e-05/0.3253, allocations: 51.31 kB / 1.021 GB, free: 6.918 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.3253, allocations: 0 / 1.021 GB, free: 6.918 MB / 0.795 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001091/0.3254, allocations: 65.62 kB / 1.021 GB, free: 6.848 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.391e-05/0.3255, allocations: 7.938 kB / 1.021 GB, free: 6.84 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.3255, allocations: 4 kB / 1.021 GB, free: 6.836 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.504e-05/0.3255, allocations: 4 kB / 1.021 GB, free: 6.832 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.426e-05/0.3256, allocations: 20.02 kB / 1.022 GB, free: 6.812 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.11e-06/0.3256, allocations: 0 / 1.022 GB, free: 6.812 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.613e-05/0.3256, allocations: 3.906 kB / 1.022 GB, free: 6.809 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.847e-06/0.3256, allocations: 8 kB / 1.022 GB, free: 6.801 MB / 0.795 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 8.303e-05/0.3257, allocations: 110.5 kB / 1.022 GB, free: 6.684 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.191e-05/0.3257, allocations: 3.938 kB / 1.022 GB, free: 6.68 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.131e-05/0.3258, allocations: 7.5 kB / 1.022 GB, free: 6.668 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.3258, allocations: 0 / 1.022 GB, free: 6.668 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.025e-06/0.3258, allocations: 4 kB / 1.022 GB, free: 6.664 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.3258, allocations: 4 kB / 1.022 GB, free: 6.66 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000128/0.3259, allocations: 149.7 kB / 1.022 GB, free: 6.465 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.006e-06/0.3259, allocations: 3.984 kB / 1.022 GB, free: 6.461 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.323e-05/0.326, allocations: 0 / 1.022 GB, free: 6.461 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.927e-06/0.326, allocations: 3.938 kB / 1.022 GB, free: 6.457 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.472e-06/0.326, allocations: 0 / 1.022 GB, free: 6.457 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.945e-06/0.326, allocations: 4 kB / 1.022 GB, free: 6.453 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.326, allocations: 4.172 kB / 1.022 GB, free: 6.449 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001305/0.3261, allocations: 93.09 kB / 1.022 GB, free: 6.34 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 5.245e-05/0.3262, allocations: 77.11 kB / 1.022 GB, free: 6.246 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.151e-05/0.3262, allocations: 7.938 kB / 1.022 GB, free: 6.238 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.992e-05/0.3262, allocations: 0 / 1.022 GB, free: 6.238 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.525e-05/0.3263, allocations: 0 / 1.022 GB, free: 6.238 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.629e-06/0.3263, allocations: 0 / 1.022 GB, free: 6.238 MB / 0.795 GB Notification: Performance of sorting global known variables: time 4.491e-05/0.3263, allocations: 83.27 kB / 1.022 GB, free: 6.156 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3263, allocations: 0 / 1.022 GB, free: 6.156 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.000244/0.3266, allocations: 28 kB / 1.022 GB, free: 6.129 MB / 0.795 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.0003657/0.327, allocations: 166.3 kB / 1.022 GB, free: 5.973 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0001213/0.3271, allocations: 31.92 kB / 1.022 GB, free: 5.941 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.3271, allocations: 0 / 1.022 GB, free: 5.941 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 3.463e-05/0.3271, allocations: 15.92 kB / 1.022 GB, free: 5.926 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001384/0.3273, allocations: 8.188 kB / 1.022 GB, free: 5.918 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002577/0.3275, allocations: 134.7 kB / 1.022 GB, free: 5.754 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003704/0.3279, allocations: 0.6768 MB / 1.023 GB, free: 5.051 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.948e-05/0.328, allocations: 11.44 kB / 1.023 GB, free: 5.039 MB / 0.795 GB Notification: Performance of SimCode: time 2.31e-07/0.328, allocations: 0 / 1.023 GB, free: 5.039 MB / 0.795 GB Notification: Performance of Templates: time 0.003173/0.3311, allocations: 1.15 MB / 1.024 GB, free: 3.887 MB / 0.795 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=400 -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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches