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.004562/0.004562, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.001334/0.001334, allocations: 202 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.251/1.251, allocations: 222.9 MB / 240.4 MB, free: 4.328 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.331/2.331, allocations: 437.1 MB / 0.7106 GB, free: 4.969 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001643/0.001643, allocations: 59.91 kB / 1.018 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2501/0.2518, allocations: 151.6 MB / 1.166 GB, free: 7.289 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration): time 0.001833/0.2536, allocations: 1.204 MB / 1.167 GB, free: 6.066 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0006681/0.2543, allocations: 395.1 kB / 1.168 GB, free: 5.68 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.107e-05/0.2544, allocations: 7.938 kB / 1.168 GB, free: 5.672 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 1.463e-05/0.2544, allocations: 7.938 kB / 1.168 GB, free: 5.664 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 2.475e-05/0.2544, allocations: 0 / 1.168 GB, free: 5.664 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003977/0.2548, allocations: 95.66 kB / 1.168 GB, free: 5.57 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 4.94e-05/0.2549, allocations: 19.97 kB / 1.168 GB, free: 5.551 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 3.153e-05/0.2549, allocations: 4 kB / 1.168 GB, free: 5.547 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 1.529e-05/0.2549, allocations: 7.938 kB / 1.168 GB, free: 5.539 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 2.76e-05/0.255, allocations: 11.92 kB / 1.168 GB, free: 5.527 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 9.107e-06/0.255, allocations: 0 / 1.168 GB, free: 5.527 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001703/0.2551, allocations: 95.84 kB / 1.168 GB, free: 5.434 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.457e-05/0.2552, allocations: 11.98 kB / 1.168 GB, free: 5.422 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 1.705e-05/0.2552, allocations: 0 / 1.168 GB, free: 5.422 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001565/0.2554, allocations: 88.03 kB / 1.168 GB, free: 5.336 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 2.425e-06/0.2554, allocations: 0 / 1.168 GB, free: 5.336 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.122e-06/0.2554, allocations: 0 / 1.168 GB, free: 5.336 MB / 0.92 GB Notification: Performance of Transformations before backend: time 3.597e-06/0.2554, allocations: 0 / 1.168 GB, free: 5.336 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.0003863/0.2558, allocations: 343.3 kB / 1.168 GB, free: 4.949 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.165e-05/0.2558, allocations: 16.02 kB / 1.168 GB, free: 4.934 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.772e-05/0.2559, allocations: 30.75 kB / 1.168 GB, free: 4.895 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.003e-05/0.2559, allocations: 4.938 kB / 1.168 GB, free: 4.891 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001021/0.256, allocations: 168.3 kB / 1.169 GB, free: 4.688 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.061e-05/0.256, allocations: 4.375 kB / 1.169 GB, free: 4.684 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.205e-06/0.256, allocations: 4.375 kB / 1.169 GB, free: 4.68 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.019e-05/0.2561, allocations: 38.23 kB / 1.169 GB, free: 4.637 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.117e-05/0.2561, allocations: 3.938 kB / 1.169 GB, free: 4.633 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.851e-06/0.2561, allocations: 3.938 kB / 1.169 GB, free: 4.629 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.2561, allocations: 4 kB / 1.169 GB, free: 4.625 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.446e-05/0.2562, allocations: 8 kB / 1.169 GB, free: 4.617 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000283/0.2565, allocations: 244.9 kB / 1.169 GB, free: 4.328 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 7.235e-05/0.2565, allocations: 46.42 kB / 1.169 GB, free: 4.273 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.605e-05/0.2566, allocations: 12.86 kB / 1.169 GB, free: 4.258 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 9.347e-06/0.2566, allocations: 4 kB / 1.169 GB, free: 4.254 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001089/0.2567, allocations: 59.48 kB / 1.169 GB, free: 4.184 MB / 0.92 GB Notification: Performance of pre-optimization done (n=5): time 1.202e-06/0.2567, allocations: 0 / 1.169 GB, free: 4.184 MB / 0.92 GB Notification: Performance of matching and sorting (n=5): time 0.0001623/0.2569, allocations: 73.62 kB / 1.169 GB, free: 4.105 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.689e-05/0.2569, allocations: 51.41 kB / 1.169 GB, free: 4.043 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.327e-05/0.257, allocations: 101.8 kB / 1.169 GB, free: 3.934 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.467e-05/0.257, allocations: 25.7 kB / 1.169 GB, free: 3.902 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 3.4e-05/0.257, allocations: 80.14 kB / 1.169 GB, free: 3.82 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.909e-05/0.2571, allocations: 19.97 kB / 1.169 GB, free: 3.801 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.387e-05/0.2571, allocations: 25.7 kB / 1.169 GB, free: 3.77 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001141/0.2572, allocations: 314.8 kB / 1.17 GB, free: 3.453 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.273e-05/0.2572, allocations: 12.23 kB / 1.17 GB, free: 3.441 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.946e-05/0.2573, allocations: 35.42 kB / 1.17 GB, free: 3.395 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.474e-05/0.2574, allocations: 59.36 kB / 1.17 GB, free: 3.324 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.2574, allocations: 3.938 kB / 1.17 GB, free: 3.32 MB / 0.92 GB Notification: Performance of matching and sorting (n=8) (initialization): time 9.269e-05/0.2575, allocations: 65.62 kB / 1.17 GB, free: 3.25 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.109e-05/0.2575, allocations: 7.938 kB / 1.17 GB, free: 3.242 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.156e-06/0.2575, allocations: 7.938 kB / 1.17 GB, free: 3.234 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.366e-06/0.2575, allocations: 0 / 1.17 GB, free: 3.234 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.041e-05/0.2576, allocations: 11.98 kB / 1.17 GB, free: 3.223 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.178e-06/0.2576, allocations: 0 / 1.17 GB, free: 3.223 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.347e-05/0.2576, allocations: 7.953 kB / 1.17 GB, free: 3.215 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.674e-06/0.2576, allocations: 8.062 kB / 1.17 GB, free: 3.207 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 7.021e-05/0.2577, allocations: 113.8 kB / 1.17 GB, free: 3.086 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.888e-06/0.2577, allocations: 4 kB / 1.17 GB, free: 3.082 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.874e-05/0.2577, allocations: 7.562 kB / 1.17 GB, free: 3.07 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.203e-06/0.2577, allocations: 0 / 1.17 GB, free: 3.07 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.996e-06/0.2577, allocations: 0 / 1.17 GB, free: 3.07 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.134e-06/0.2577, allocations: 0 / 1.17 GB, free: 3.07 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002333/0.258, allocations: 302.5 kB / 1.17 GB, free: 2.719 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.258, allocations: 7.938 kB / 1.17 GB, free: 2.711 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.865e-05/0.258, allocations: 4 kB / 1.17 GB, free: 2.707 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.362e-06/0.258, allocations: 0 / 1.17 GB, free: 2.707 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.881e-06/0.258, allocations: 0 / 1.17 GB, free: 2.707 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.258, allocations: 0 / 1.17 GB, free: 2.707 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.741e-06/0.258, allocations: 3.984 kB / 1.17 GB, free: 2.703 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000129/0.2582, allocations: 163.4 kB / 1.17 GB, free: 2.527 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 4.191e-05/0.2582, allocations: 85.06 kB / 1.171 GB, free: 2.426 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.007e-05/0.2582, allocations: 0 / 1.171 GB, free: 2.426 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.795e-05/0.2583, allocations: 11.98 kB / 1.171 GB, free: 2.414 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.297e-05/0.2583, allocations: 224 / 1.171 GB, free: 2.414 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.925e-06/0.2583, allocations: 8 kB / 1.171 GB, free: 2.406 MB / 0.92 GB Notification: Performance of sorting global known variables: time 3.195e-05/0.2584, allocations: 75.28 kB / 1.171 GB, free: 2.332 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2584, allocations: 0 / 1.171 GB, free: 2.332 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002422/0.2586, allocations: 43.8 kB / 1.171 GB, free: 2.289 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.0006114/0.2592, allocations: 0.7638 MB / 1.171 GB, free: 1.512 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 9.398e-05/0.2593, allocations: 31.98 kB / 1.171 GB, free: 1.48 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.173e-06/0.2593, allocations: 0 / 1.171 GB, free: 1.48 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 3.591e-05/0.2594, allocations: 19.94 kB / 1.171 GB, free: 1.461 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001729/0.2596, allocations: 6.625 kB / 1.171 GB, free: 1.457 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009408/0.2605, allocations: 1.253 MB / 1.173 GB, free: 108 kB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002677/0.2608, allocations: 0.6768 MB / 1.173 GB, free: 15.4 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 1.688e-05/0.2608, allocations: 4 kB / 1.173 GB, free: 15.4 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.74e-05/0.2608, allocations: 11.44 kB / 1.173 GB, free: 15.39 MB / 0.9356 GB Notification: Performance of SimCode: time 2.3e-07/0.2608, allocations: 0 / 1.173 GB, free: 15.39 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 7.339/7.6, allocations: 1.911 MB / 1.175 GB, free: 13.62 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.792/17.39, allocations: 10.08 kB / 1.175 GB, free: 13.62 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=400 --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