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.001306/0.001307, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001575/0.001575, allocations: 193.1 kB / 16.25 MB, free: 6.633 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.3/1.3, allocations: 222.9 MB / 239.9 MB, free: 4.543 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.478/2.478, allocations: 437.1 MB / 0.7101 GB, free: 5.242 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001405/0.001405, allocations: 59.91 kB / 0.8688 GB, free: 4.969 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6197/0.6211, allocations: 151.6 MB / 1.017 GB, free: 2.688 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration): time 0.002089/0.6233, allocations: 1.27 MB / 1.018 GB, free: 1.41 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.000701/0.624, allocations: 402.7 kB / 1.019 GB, free: 1.016 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.93e-05/0.624, allocations: 0 / 1.019 GB, free: 1.016 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 1.426e-05/0.6241, allocations: 0 / 1.019 GB, free: 1.016 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 3.295e-05/0.6241, allocations: 3.984 kB / 1.019 GB, free: 1.012 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004377/0.6245, allocations: 83.8 kB / 1.019 GB, free: 0.9297 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 4.09e-05/0.6246, allocations: 12 kB / 1.019 GB, free: 0.918 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 3.84e-05/0.6246, allocations: 7.984 kB / 1.019 GB, free: 0.9102 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 1.643e-05/0.6247, allocations: 0 / 1.019 GB, free: 0.9102 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 2.703e-05/0.6247, allocations: 19.91 kB / 1.019 GB, free: 0.8906 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.006e-05/0.6247, allocations: 0 / 1.019 GB, free: 0.8906 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001717/0.6249, allocations: 91.84 kB / 1.019 GB, free: 0.8008 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.251e-05/0.6249, allocations: 8 kB / 1.019 GB, free: 0.793 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.417e-05/0.6249, allocations: 7.938 kB / 1.019 GB, free: 0.7852 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001425/0.6251, allocations: 79.88 kB / 1.019 GB, free: 0.707 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.6251, allocations: 0 / 1.019 GB, free: 0.707 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.202e-06/0.6251, allocations: 0 / 1.019 GB, free: 0.707 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 3.858e-06/0.6251, allocations: 0 / 1.019 GB, free: 0.707 MB / 0.7637 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.0003722/0.6255, allocations: 351.4 kB / 1.019 GB, free: 320 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.388e-05/0.6255, allocations: 8.031 kB / 1.019 GB, free: 312 kB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.623e-05/0.6256, allocations: 30.75 kB / 1.019 GB, free: 272 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.563e-05/0.6256, allocations: 8.938 kB / 1.019 GB, free: 264 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.886e-05/0.6257, allocations: 166.6 kB / 1.019 GB, free: 60 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.167e-05/0.6257, allocations: 8.312 kB / 1.019 GB, free: 52 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.131e-05/0.6257, allocations: 4.375 kB / 1.019 GB, free: 48 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.631e-05/0.6258, allocations: 34.25 kB / 1.019 GB, free: 8 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.983e-06/0.6258, allocations: 3.938 kB / 1.019 GB, free: 4 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.258e-06/0.6259, allocations: 8.109 kB / 1.019 GB, free: 15.99 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.837e-06/0.6259, allocations: 3.938 kB / 1.019 GB, free: 15.99 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.615e-05/0.6259, allocations: 7.984 kB / 1.019 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002837/0.6262, allocations: 244.9 kB / 1.02 GB, free: 15.69 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 7.633e-05/0.6263, allocations: 38.45 kB / 1.02 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.335e-05/0.6263, allocations: 24.92 kB / 1.02 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 9.568e-06/0.6263, allocations: 0 / 1.02 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001284/0.6265, allocations: 55.41 kB / 1.02 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=5): time 1.513e-06/0.6265, allocations: 0 / 1.02 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of matching and sorting (n=5): time 0.0001763/0.6267, allocations: 77.61 kB / 1.02 GB, free: 15.47 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.822e-05/0.6267, allocations: 51.41 kB / 1.02 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.034e-05/0.6268, allocations: 97.86 kB / 1.02 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.275e-05/0.6268, allocations: 25.7 kB / 1.02 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 2.736e-05/0.6268, allocations: 84.14 kB / 1.02 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.788e-05/0.6268, allocations: 23.86 kB / 1.02 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.396e-05/0.6269, allocations: 21.72 kB / 1.02 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.081e-05/0.627, allocations: 314.8 kB / 1.02 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.052e-05/0.627, allocations: 8.25 kB / 1.02 GB, free: 14.81 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.463e-05/0.627, allocations: 35.42 kB / 1.021 GB, free: 14.76 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.088e-05/0.6271, allocations: 55.38 kB / 1.021 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/0.6271, allocations: 3.938 kB / 1.021 GB, free: 14.69 MB / 0.7794 GB Notification: Performance of matching and sorting (n=8) (initialization): time 9.703e-05/0.6272, allocations: 69.61 kB / 1.021 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.338e-05/0.6272, allocations: 11.94 kB / 1.021 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.118e-06/0.6272, allocations: 0 / 1.021 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.024e-05/0.6272, allocations: 0 / 1.021 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.72e-05/0.6273, allocations: 11.94 kB / 1.021 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.123e-06/0.6273, allocations: 4 kB / 1.021 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.479e-05/0.6273, allocations: 8.062 kB / 1.021 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.774e-06/0.6274, allocations: 4 kB / 1.021 GB, free: 14.58 MB / 0.7794 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 6.371e-05/0.6274, allocations: 113.8 kB / 1.021 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.206e-05/0.6274, allocations: 7.906 kB / 1.021 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.102e-05/0.6275, allocations: 7.562 kB / 1.021 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.6275, allocations: 0 / 1.021 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.6275, allocations: 0 / 1.021 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.475e-06/0.6275, allocations: 0 / 1.021 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000209/0.6277, allocations: 306.5 kB / 1.021 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.006e-06/0.6277, allocations: 3.984 kB / 1.021 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.014e-05/0.6277, allocations: 4 kB / 1.021 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.6277, allocations: 0 / 1.021 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.973e-06/0.6278, allocations: 3.938 kB / 1.021 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.6278, allocations: 0 / 1.021 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.6278, allocations: 0 / 1.021 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001223/0.6279, allocations: 167.4 kB / 1.021 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 2.613e-05/0.6279, allocations: 85.11 kB / 1.021 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.162e-05/0.6279, allocations: 0 / 1.021 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.322e-05/0.628, allocations: 4 kB / 1.021 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.972e-05/0.628, allocations: 4.125 kB / 1.021 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.282e-06/0.628, allocations: 4 kB / 1.021 GB, free: 13.78 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 2.934e-05/0.6281, allocations: 79.27 kB / 1.021 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6281, allocations: 0 / 1.021 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002646/0.6283, allocations: 35.94 kB / 1.021 GB, free: 13.67 MB / 0.7794 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.0005554/0.6289, allocations: 0.7677 MB / 1.022 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 9.225e-05/0.629, allocations: 35.92 kB / 1.022 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.562e-06/0.629, allocations: 0 / 1.022 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 3.451e-05/0.6291, allocations: 28.03 kB / 1.022 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001915/0.6293, allocations: 4.5 kB / 1.022 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008763/0.6301, allocations: 1.246 MB / 1.023 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001808/0.6303, allocations: 0.6846 MB / 1.024 GB, free: 10.77 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 1.989e-05/0.6304, allocations: 256 / 1.024 GB, free: 10.77 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.683e-05/0.6304, allocations: 15.44 kB / 1.024 GB, free: 10.76 MB / 0.7794 GB Notification: Performance of SimCode: time 2.51e-07/0.6304, allocations: 0 / 1.024 GB, free: 10.76 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01038/0.6408, allocations: 1.81 MB / 1.026 GB, free: 9.121 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001877/0.641, allocations: 261.5 kB / 1.026 GB, free: 8.77 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.864/2.505, allocations: 0 / 1.026 GB, free: 8.77 MB / 0.7794 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