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: "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration,fileNamePrefix="Buildings_10_Buildings_Occupants_BaseClasses_Validation_ExponentialVariableGeneration",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration,fileNamePrefix="Buildings_10_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.006871/0.006872, allocations: 101.1 kB / 15.73 MB, free: 6.035 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.00169/0.001689, allocations: 199.3 kB / 16.67 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.403/1.403, allocations: 222.9 MB / 240.4 MB, free: 4.18 MB / 190.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.607/2.607, allocations: 437 MB / 0.7105 GB, free: 5.039 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001414/0.001414, allocations: 60.14 kB / 1.018 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3275/0.3289, allocations: 151.6 MB / 1.166 GB, free: 7.461 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration): time 0.002661/0.3316, allocations: 1.206 MB / 1.167 GB, free: 6.242 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0009256/0.3325, allocations: 395.1 kB / 1.168 GB, free: 5.855 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.587e-05/0.3326, allocations: 0 / 1.168 GB, free: 5.855 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 1.91e-05/0.3327, allocations: 11.88 kB / 1.168 GB, free: 5.844 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 3.556e-05/0.3327, allocations: 0 / 1.168 GB, free: 5.844 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006041/0.3333, allocations: 99.64 kB / 1.168 GB, free: 5.746 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 7.811e-05/0.3334, allocations: 15.98 kB / 1.168 GB, free: 5.73 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 4.484e-05/0.3335, allocations: 4 kB / 1.168 GB, free: 5.727 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 2.056e-05/0.3335, allocations: 4 kB / 1.168 GB, free: 5.723 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 3.222e-05/0.3335, allocations: 15.91 kB / 1.168 GB, free: 5.707 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.176e-05/0.3335, allocations: 0 / 1.168 GB, free: 5.707 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002323/0.3338, allocations: 95.84 kB / 1.168 GB, free: 5.613 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.65e-05/0.3338, allocations: 7.938 kB / 1.168 GB, free: 5.605 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 2.519e-05/0.3338, allocations: 0 / 1.168 GB, free: 5.605 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001832/0.334, allocations: 87.81 kB / 1.168 GB, free: 5.52 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.089e-06/0.334, allocations: 0 / 1.168 GB, free: 5.52 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.433e-06/0.334, allocations: 4 kB / 1.168 GB, free: 5.516 MB / 0.92 GB Notification: Performance of Transformations before backend: time 4.899e-06/0.3341, allocations: 0 / 1.168 GB, free: 5.516 MB / 0.92 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.0004421/0.3345, allocations: 339.6 kB / 1.168 GB, free: 5.133 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.219e-05/0.3346, allocations: 12.03 kB / 1.168 GB, free: 5.121 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.369e-05/0.3346, allocations: 34.66 kB / 1.168 GB, free: 5.078 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.017e-05/0.3347, allocations: 4.922 kB / 1.168 GB, free: 5.074 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001217/0.3348, allocations: 167.2 kB / 1.169 GB, free: 4.875 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.569e-05/0.3348, allocations: 384 / 1.169 GB, free: 4.875 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.433e-05/0.3348, allocations: 16.31 kB / 1.169 GB, free: 4.859 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001038/0.3349, allocations: 34.25 kB / 1.169 GB, free: 4.82 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.098e-05/0.335, allocations: 3.938 kB / 1.169 GB, free: 4.816 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.318e-06/0.335, allocations: 3.938 kB / 1.169 GB, free: 4.812 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.422e-06/0.335, allocations: 4 kB / 1.169 GB, free: 4.809 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.384e-05/0.335, allocations: 11.98 kB / 1.169 GB, free: 4.797 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003409/0.3354, allocations: 237 kB / 1.169 GB, free: 4.516 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 9.707e-05/0.3355, allocations: 42.45 kB / 1.169 GB, free: 4.465 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.602e-05/0.3355, allocations: 16.94 kB / 1.169 GB, free: 4.445 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.268e-05/0.3355, allocations: 4 kB / 1.169 GB, free: 4.441 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001767/0.3357, allocations: 51.41 kB / 1.169 GB, free: 4.379 MB / 0.92 GB Notification: Performance of pre-optimization done (n=5): time 1.393e-06/0.3357, allocations: 0 / 1.169 GB, free: 4.379 MB / 0.92 GB Notification: Performance of matching and sorting (n=5): time 0.0002298/0.336, allocations: 77.61 kB / 1.169 GB, free: 4.297 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.469e-05/0.336, allocations: 55.41 kB / 1.169 GB, free: 4.23 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.545e-05/0.3361, allocations: 105.8 kB / 1.169 GB, free: 4.117 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.528e-05/0.3361, allocations: 25.7 kB / 1.169 GB, free: 4.086 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 4.27e-05/0.3362, allocations: 80.14 kB / 1.169 GB, free: 4.004 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.192e-05/0.3362, allocations: 12.47 kB / 1.169 GB, free: 3.992 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.311e-05/0.3363, allocations: 17.72 kB / 1.169 GB, free: 3.969 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001104/0.3364, allocations: 318.8 kB / 1.17 GB, free: 3.648 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.496e-05/0.3364, allocations: 12.12 kB / 1.17 GB, free: 3.637 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.001e-05/0.3365, allocations: 35.42 kB / 1.17 GB, free: 3.59 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.095e-05/0.3365, allocations: 51.36 kB / 1.17 GB, free: 3.527 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/0.3365, allocations: 3.938 kB / 1.17 GB, free: 3.523 MB / 0.92 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001197/0.3367, allocations: 77.52 kB / 1.17 GB, free: 3.441 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.5e-05/0.3367, allocations: 4 kB / 1.17 GB, free: 3.438 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.65e-06/0.3367, allocations: 4 kB / 1.17 GB, free: 3.434 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.608e-05/0.3367, allocations: 0 / 1.17 GB, free: 3.434 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.036e-05/0.3368, allocations: 11.94 kB / 1.17 GB, free: 3.422 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.705e-06/0.3368, allocations: 3.938 kB / 1.17 GB, free: 3.418 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.006e-05/0.3369, allocations: 8.219 kB / 1.17 GB, free: 3.41 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.092e-05/0.3369, allocations: 4 kB / 1.17 GB, free: 3.406 MB / 0.92 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 8.671e-05/0.337, allocations: 117.8 kB / 1.17 GB, free: 3.281 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.406e-05/0.337, allocations: 8.062 kB / 1.17 GB, free: 3.273 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.995e-05/0.337, allocations: 7.562 kB / 1.17 GB, free: 3.262 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.853e-06/0.337, allocations: 0 / 1.17 GB, free: 3.262 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.337, allocations: 256 / 1.17 GB, free: 3.262 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.337, allocations: 0 / 1.17 GB, free: 3.262 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002643/0.3373, allocations: 310.5 kB / 1.17 GB, free: 2.902 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-06/0.3373, allocations: 3.938 kB / 1.17 GB, free: 2.898 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.516e-05/0.3374, allocations: 4 kB / 1.17 GB, free: 2.895 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.077e-05/0.3374, allocations: 0 / 1.17 GB, free: 2.895 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.456e-06/0.3374, allocations: 0 / 1.17 GB, free: 2.895 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.3374, allocations: 4 kB / 1.17 GB, free: 2.891 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.3374, allocations: 160 / 1.17 GB, free: 2.891 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001447/0.3375, allocations: 171.3 kB / 1.17 GB, free: 2.707 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 3.278e-05/0.3376, allocations: 81.11 kB / 1.171 GB, free: 2.609 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.239e-05/0.3376, allocations: 0 / 1.171 GB, free: 2.609 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.348e-05/0.3377, allocations: 0 / 1.171 GB, free: 2.609 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.195e-05/0.3377, allocations: 4 kB / 1.171 GB, free: 2.605 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.396e-06/0.3377, allocations: 7.984 kB / 1.171 GB, free: 2.598 MB / 0.92 GB Notification: Performance of sorting global known variables: time 3.161e-05/0.3377, allocations: 79.28 kB / 1.171 GB, free: 2.52 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3377, allocations: 0 / 1.171 GB, free: 2.52 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002795/0.338, allocations: 35.94 kB / 1.171 GB, free: 2.484 MB / 0.92 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.000638/0.3387, allocations: 0.7625 MB / 1.171 GB, free: 1.707 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0001095/0.3388, allocations: 35.92 kB / 1.171 GB, free: 1.672 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.3388, allocations: 0 / 1.171 GB, free: 1.672 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 4.07e-05/0.3389, allocations: 27.91 kB / 1.171 GB, free: 1.645 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002028/0.3391, allocations: 2.031 kB / 1.171 GB, free: 1.645 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001007/0.3401, allocations: 1.257 MB / 1.173 GB, free: 296 kB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002224/0.3403, allocations: 0.6729 MB / 1.173 GB, free: 15.59 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 2.542e-05/0.3403, allocations: 7.984 kB / 1.173 GB, free: 15.58 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.816e-05/0.3404, allocations: 7.438 kB / 1.173 GB, free: 15.58 MB / 0.9356 GB Notification: Performance of SimCode: time 2.21e-07/0.3404, allocations: 0 / 1.173 GB, free: 15.58 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01909/0.3595, allocations: 1.914 MB / 1.175 GB, free: 13.81 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.803/8.163, allocations: 9.953 kB / 1.175 GB, free: 13.8 MB / 0.9356 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration_res.mat --tempDir=temp_Buildings_10_Buildings_Occupants_BaseClasses_Validation_ExponentialVariableGeneration_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Occupants_BaseClasses_Validation_ExponentialVariableGeneration.fmu > 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) "" Variables in the reference:time,y Variables in the result:mu,seed,time,y