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: translateModel(Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_9_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration") translateModel(Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_9_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.001196/0.001196, allocations: 98.88 kB / 16.02 MB, free: 72 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001778/0.001778, allocations: 182.3 kB / 16.92 MB, free: 6.918 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.631/1.631, allocations: 223.3 MB / 241 MB, free: 5.355 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.435/2.435, allocations: 390.9 MB / 0.667 GB, free: 2.426 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004767/0.0004769, allocations: 8 kB / 0.8166 GB, free: 13.28 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6534/0.6539, allocations: 142.4 MB / 0.9557 GB, free: 7.789 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration): time 0.00109/0.655, allocations: 0.9313 MB / 0.9566 GB, free: 7.039 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.000688/0.6557, allocations: 400.4 kB / 0.957 GB, free: 6.75 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.597e-05/0.6557, allocations: 0 / 0.957 GB, free: 6.75 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.359e-05/0.6558, allocations: 3.938 kB / 0.957 GB, free: 6.746 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 3.341e-05/0.6558, allocations: 1.375 kB / 0.957 GB, free: 6.746 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003797/0.6562, allocations: 76.28 kB / 0.9571 GB, free: 6.695 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 3.765e-05/0.6562, allocations: 15.19 kB / 0.9571 GB, free: 6.688 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.747e-05/0.6563, allocations: 5.344 kB / 0.9571 GB, free: 6.684 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 1.933e-05/0.6563, allocations: 7.172 kB / 0.9571 GB, free: 6.68 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 2.388e-05/0.6563, allocations: 18.77 kB / 0.9571 GB, free: 6.664 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.149e-05/0.6564, allocations: 0.8438 kB / 0.9571 GB, free: 6.664 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000161/0.6565, allocations: 83.31 kB / 0.9572 GB, free: 6.621 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.316e-05/0.6565, allocations: 9.328 kB / 0.9572 GB, free: 6.613 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.182e-05/0.6566, allocations: 28.42 kB / 0.9572 GB, free: 6.582 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001092/0.6567, allocations: 59.69 kB / 0.9573 GB, free: 6.547 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.6567, allocations: 0 / 0.9573 GB, free: 6.547 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.683e-06/0.6567, allocations: 1.406 kB / 0.9573 GB, free: 6.547 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.143e-06/0.6567, allocations: 0 / 0.9573 GB, free: 6.547 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.0003335/0.6571, allocations: 346.5 kB / 0.9576 GB, free: 6.168 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.948e-05/0.6571, allocations: 9.438 kB / 0.9576 GB, free: 6.168 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.363e-05/0.6571, allocations: 2.156 kB / 0.9576 GB, free: 6.168 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.823e-05/0.6572, allocations: 167.4 kB / 0.9578 GB, free: 5.969 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.612e-05/0.6573, allocations: 1.594 kB / 0.9578 GB, free: 5.969 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.559e-05/0.6573, allocations: 7 kB / 0.9578 GB, free: 5.965 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.078e-05/0.6574, allocations: 34.19 kB / 0.9578 GB, free: 5.93 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.514e-06/0.6574, allocations: 1.562 kB / 0.9578 GB, free: 5.93 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.067e-05/0.6574, allocations: 3.938 kB / 0.9578 GB, free: 5.926 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.6574, allocations: 4 kB / 0.9578 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.35e-05/0.6574, allocations: 3.719 kB / 0.9578 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000117/0.6576, allocations: 153.3 kB / 0.958 GB, free: 5.727 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 6.165e-05/0.6576, allocations: 33.42 kB / 0.958 GB, free: 5.691 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.183e-05/0.6577, allocations: 17.03 kB / 0.958 GB, free: 5.676 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 9.298e-06/0.6577, allocations: 0 / 0.958 GB, free: 5.676 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001173/0.6578, allocations: 59.83 kB / 0.9581 GB, free: 5.613 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 1.172e-06/0.6578, allocations: 1.094 kB / 0.9581 GB, free: 5.613 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.0001728/0.658, allocations: 72.92 kB / 0.9582 GB, free: 5.559 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.627e-05/0.658, allocations: 52.44 kB / 0.9582 GB, free: 5.496 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.597e-05/0.6581, allocations: 92.67 kB / 0.9583 GB, free: 5.398 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.276e-06/0.6581, allocations: 30.83 kB / 0.9583 GB, free: 5.363 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.686e-05/0.6581, allocations: 89.27 kB / 0.9584 GB, free: 5.273 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.835e-05/0.6581, allocations: 9.266 kB / 0.9584 GB, free: 5.266 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.164e-05/0.6582, allocations: 24.48 kB / 0.9585 GB, free: 5.238 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.046e-05/0.6582, allocations: 312 kB / 0.9587 GB, free: 4.926 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.867e-05/0.6582, allocations: 7.781 kB / 0.9588 GB, free: 4.922 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.774e-05/0.6583, allocations: 31.39 kB / 0.9588 GB, free: 4.887 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.97e-05/0.6583, allocations: 47.69 kB / 0.9588 GB, free: 4.84 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.6583, allocations: 1.125 kB / 0.9588 GB, free: 4.84 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7) (initialization): time 9.067e-05/0.6584, allocations: 67.95 kB / 0.9589 GB, free: 4.789 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.905e-05/0.6584, allocations: 15.34 kB / 0.9589 GB, free: 4.781 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.6585, allocations: 5.031 kB / 0.9589 GB, free: 4.777 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.126e-05/0.6585, allocations: 1 kB / 0.9589 GB, free: 4.777 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.65e-05/0.6585, allocations: 6.188 kB / 0.9589 GB, free: 4.777 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/0.6586, allocations: 1.875 kB / 0.9589 GB, free: 4.777 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.553e-05/0.6586, allocations: 13.5 kB / 0.9589 GB, free: 4.766 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.277e-06/0.6586, allocations: 2.781 kB / 0.9589 GB, free: 4.766 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 (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 4.809e-05/0.6587, allocations: 108.7 kB / 0.959 GB, free: 4.652 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.039e-05/0.6587, allocations: 13.02 kB / 0.9591 GB, free: 4.641 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.914e-05/0.6587, allocations: 7.5 kB / 0.9591 GB, free: 4.629 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.392e-06/0.6587, allocations: 1.344 kB / 0.9591 GB, free: 4.629 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.916e-06/0.6587, allocations: 0 / 0.9591 GB, free: 4.629 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.6587, allocations: 1.406 kB / 0.9591 GB, free: 4.629 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.779e-05/0.6588, allocations: 152.4 kB / 0.9592 GB, free: 4.434 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.6588, allocations: 4.938 kB / 0.9592 GB, free: 4.43 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.475e-05/0.6588, allocations: 5.031 kB / 0.9592 GB, free: 4.426 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.434e-06/0.6588, allocations: 4.906 kB / 0.9592 GB, free: 4.422 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.585e-05/0.6588, allocations: 1.062 kB / 0.9592 GB, free: 4.422 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.6588, allocations: 0 / 0.9592 GB, free: 4.422 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.6588, allocations: 1.094 kB / 0.9592 GB, free: 4.422 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.408e-05/0.6589, allocations: 86.3 kB / 0.9593 GB, free: 4.34 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.747e-05/0.659, allocations: 78.17 kB / 0.9594 GB, free: 4.246 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.364e-05/0.659, allocations: 9 kB / 0.9594 GB, free: 4.238 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.945e-05/0.659, allocations: 288 / 0.9594 GB, free: 4.238 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.886e-05/0.659, allocations: 6.516 kB / 0.9594 GB, free: 4.234 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.781e-06/0.6591, allocations: 1.062 kB / 0.9594 GB, free: 4.234 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.725e-05/0.6591, allocations: 76.5 kB / 0.9595 GB, free: 4.16 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6591, allocations: 3.938 kB / 0.9595 GB, free: 4.156 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002388/0.6593, allocations: 32.48 kB / 0.9595 GB, free: 4.145 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,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.0002865/0.6596, allocations: 168.8 kB / 0.9597 GB, free: 4.023 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 8.917e-05/0.6597, allocations: 24.17 kB / 0.9597 GB, free: 4.016 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.6597, allocations: 0 / 0.9597 GB, free: 4.016 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 3.011e-05/0.6598, allocations: 12.94 kB / 0.9597 GB, free: 4.012 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001344/0.6599, allocations: 8.422 kB / 0.9597 GB, free: 4.008 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002028/0.6601, allocations: 130.9 kB / 0.9598 GB, free: 3.859 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.976e-05/0.6602, allocations: 0.6772 MB / 0.9605 GB, free: 3.16 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.402e-05/0.6602, allocations: 9.656 kB / 0.9605 GB, free: 3.152 MB / 0.7169 GB Notification: Performance of SimCode: time 2.31e-07/0.6602, allocations: 0 / 0.9605 GB, free: 3.152 MB / 0.7169 GB Notification: Performance of Templates: time 0.002453/0.6627, allocations: 1.141 MB / 0.9616 GB, free: 2.574 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.makefile (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 & ./Buildings_9_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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) Reference file matches