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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.001257/0.001257, allocations: 97.95 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.01061/0.01061, allocations: 170.7 kB / 16.27 MB, free: 6.656 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.498/1.498, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.388/2.388, allocations: 390.9 MB / 0.6663 GB, free: 2.359 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003377/0.0003379, allocations: 8 kB / 0.8159 GB, free: 13.25 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7156/0.716, allocations: 142.4 MB / 0.955 GB, free: 7.699 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration): time 0.001095/0.7171, allocations: 0.9389 MB / 0.9559 GB, free: 6.941 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0007581/0.7179, allocations: 409.2 kB / 0.9563 GB, free: 6.645 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.955e-05/0.7179, allocations: 0 / 0.9563 GB, free: 6.645 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.316e-05/0.718, allocations: 0 / 0.9563 GB, free: 6.645 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 3.728e-05/0.718, allocations: 4.969 kB / 0.9563 GB, free: 6.641 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004377/0.7184, allocations: 76.86 kB / 0.9564 GB, free: 6.59 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 4.063e-05/0.7185, allocations: 10.62 kB / 0.9564 GB, free: 6.586 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.036e-05/0.7185, allocations: 1.094 kB / 0.9564 GB, free: 6.586 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 2.052e-05/0.7186, allocations: 11.59 kB / 0.9564 GB, free: 6.578 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 2.514e-05/0.7186, allocations: 10.34 kB / 0.9564 GB, free: 6.57 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.152e-05/0.7186, allocations: 0.9688 kB / 0.9564 GB, free: 6.57 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000183/0.7188, allocations: 92.62 kB / 0.9565 GB, free: 6.52 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.397e-05/0.7188, allocations: 7.984 kB / 0.9565 GB, free: 6.512 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.996e-05/0.7189, allocations: 29.08 kB / 0.9566 GB, free: 6.48 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001515/0.719, allocations: 84.12 kB / 0.9566 GB, free: 6.43 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.719, allocations: 0 / 0.9566 GB, free: 6.43 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.172e-06/0.719, allocations: 0.9688 kB / 0.9566 GB, free: 6.43 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.168e-06/0.719, allocations: 0 / 0.9566 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.0003232/0.7194, allocations: 339.1 kB / 0.957 GB, free: 6.059 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.603e-05/0.7194, allocations: 9.156 kB / 0.957 GB, free: 6.059 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.765e-05/0.7194, allocations: 5.906 kB / 0.957 GB, free: 6.055 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.003e-05/0.7195, allocations: 167.4 kB / 0.9571 GB, free: 5.855 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.541e-05/0.7195, allocations: 1.438 kB / 0.9571 GB, free: 5.855 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.453e-05/0.7196, allocations: 2.594 kB / 0.9571 GB, free: 5.855 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.788e-05/0.7197, allocations: 43.69 kB / 0.9572 GB, free: 5.812 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.105e-06/0.7197, allocations: 192 / 0.9572 GB, free: 5.812 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.089e-05/0.7197, allocations: 11.94 kB / 0.9572 GB, free: 5.801 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.509e-06/0.7197, allocations: 1.156 kB / 0.9572 GB, free: 5.801 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.604e-05/0.7197, allocations: 7.109 kB / 0.9572 GB, free: 5.797 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001095/0.7198, allocations: 157.2 kB / 0.9574 GB, free: 5.598 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 6.225e-05/0.7199, allocations: 26.33 kB / 0.9574 GB, free: 5.57 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.205e-05/0.7199, allocations: 8.453 kB / 0.9574 GB, free: 5.562 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.313e-05/0.72, allocations: 8.016 kB / 0.9574 GB, free: 5.555 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001224/0.7201, allocations: 55.61 kB / 0.9575 GB, free: 5.496 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 1.313e-06/0.7201, allocations: 5.094 kB / 0.9575 GB, free: 5.492 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.0001704/0.7203, allocations: 68.61 kB / 0.9575 GB, free: 5.441 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.284e-05/0.7203, allocations: 53.59 kB / 0.9576 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.792e-05/0.7204, allocations: 96.05 kB / 0.9577 GB, free: 5.277 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.426e-06/0.7204, allocations: 26.8 kB / 0.9577 GB, free: 5.246 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.551e-05/0.7204, allocations: 89.02 kB / 0.9578 GB, free: 5.156 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.957e-05/0.7204, allocations: 13.08 kB / 0.9578 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.139e-05/0.7205, allocations: 12.88 kB / 0.9578 GB, free: 5.129 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.18e-05/0.7205, allocations: 320 kB / 0.9581 GB, free: 4.809 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.882e-05/0.7205, allocations: 8.453 kB / 0.9581 GB, free: 4.805 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.754e-05/0.7206, allocations: 29.97 kB / 0.9581 GB, free: 4.77 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.207e-05/0.7206, allocations: 44.97 kB / 0.9582 GB, free: 4.727 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.7206, allocations: 7.938 kB / 0.9582 GB, free: 4.719 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7) (initialization): time 9.008e-05/0.7207, allocations: 68.14 kB / 0.9583 GB, free: 4.668 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.44e-05/0.7207, allocations: 10.34 kB / 0.9583 GB, free: 4.664 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/0.7207, allocations: 1.312 kB / 0.9583 GB, free: 4.664 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.365e-05/0.7208, allocations: 1.031 kB / 0.9583 GB, free: 4.664 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.403e-05/0.7208, allocations: 5.812 kB / 0.9583 GB, free: 4.664 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.352e-06/0.7208, allocations: 5.125 kB / 0.9583 GB, free: 4.66 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.631e-05/0.7209, allocations: 6.344 kB / 0.9583 GB, free: 4.656 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.106e-06/0.7209, allocations: 2.188 kB / 0.9583 GB, free: 4.656 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 5.095e-05/0.7209, allocations: 120.4 kB / 0.9584 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.061e-05/0.721, allocations: 10 kB / 0.9584 GB, free: 4.523 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.849e-05/0.721, allocations: 3.5 kB / 0.9584 GB, free: 4.516 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.006e-06/0.721, allocations: 1.344 kB / 0.9584 GB, free: 4.516 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.721, allocations: 3.938 kB / 0.9584 GB, free: 4.512 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-06/0.721, allocations: 0 / 0.9584 GB, free: 4.512 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.035e-05/0.7211, allocations: 157.8 kB / 0.9586 GB, free: 4.312 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.7211, allocations: 0 / 0.9586 GB, free: 4.312 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.643e-05/0.7211, allocations: 2.875 kB / 0.9586 GB, free: 4.312 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.354e-06/0.7211, allocations: 7.938 kB / 0.9586 GB, free: 4.305 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.604e-06/0.7211, allocations: 1.375 kB / 0.9586 GB, free: 4.305 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.7211, allocations: 3.984 kB / 0.9586 GB, free: 4.301 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.7211, allocations: 0 / 0.9586 GB, free: 4.301 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.674e-05/0.7212, allocations: 82.28 kB / 0.9587 GB, free: 4.223 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.563e-05/0.7213, allocations: 78.42 kB / 0.9587 GB, free: 4.129 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.433e-05/0.7213, allocations: 9.234 kB / 0.9587 GB, free: 4.121 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.026e-05/0.7213, allocations: 0 / 0.9587 GB, free: 4.121 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.748e-05/0.7214, allocations: 9.312 kB / 0.9588 GB, free: 4.113 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.12e-06/0.7214, allocations: 1.5 kB / 0.9588 GB, free: 4.113 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.718e-05/0.7214, allocations: 77.03 kB / 0.9588 GB, free: 4.039 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7214, allocations: 1.25 kB / 0.9588 GB, free: 4.039 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002578/0.7217, allocations: 31.8 kB / 0.9589 GB, free: 4.027 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.0002928/0.722, allocations: 159 kB / 0.959 GB, free: 3.918 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001011/0.7221, allocations: 28.95 kB / 0.959 GB, free: 3.906 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.7221, allocations: 0 / 0.959 GB, free: 3.906 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 2.977e-05/0.7221, allocations: 15.92 kB / 0.9591 GB, free: 3.898 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001311/0.7222, allocations: 1.031 kB / 0.9591 GB, free: 3.898 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001859/0.7224, allocations: 109.9 kB / 0.9592 GB, free: 3.777 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.243e-05/0.7225, allocations: 0.6779 MB / 0.9598 GB, free: 3.078 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.092e-05/0.7226, allocations: 5.062 kB / 0.9598 GB, free: 3.074 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.325e-05/0.7226, allocations: 9.719 kB / 0.9598 GB, free: 3.066 MB / 0.7169 GB Notification: Performance of SimCode: time 3.1e-07/0.7226, allocations: 0 / 0.9598 GB, free: 3.066 MB / 0.7169 GB Notification: Performance of Templates: time 0.00305/0.7256, allocations: 0.9457 MB / 0.9608 GB, free: 2.562 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/jenkins/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:seed,t0,time,y