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: "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration,fileNamePrefix="Buildings_9_Buildings_Occupants_BaseClasses_Validation_ExponentialVariableGeneration",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration,fileNamePrefix="Buildings_9_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.001217/0.001217, allocations: 111.3 kB / 15.23 MB, free: 0.6562 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.001221/0.001221, allocations: 194.1 kB / 16.13 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.29/1.29, allocations: 222.9 MB / 239.8 MB, free: 4.578 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.253/2.253, allocations: 390.2 MB / 0.6643 GB, free: 0.5859 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001218/0.001218, allocations: 63.89 kB / 0.812 GB, free: 14.8 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.71/0.7112, allocations: 140.4 MB / 0.949 GB, free: 9.137 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration): time 0.002393/0.7137, allocations: 1.261 MB / 0.9503 GB, free: 8.137 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0007699/0.7144, allocations: 415.5 kB / 0.9507 GB, free: 7.836 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.113e-05/0.7145, allocations: 0 / 0.9507 GB, free: 7.836 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.504e-05/0.7145, allocations: 3.938 kB / 0.9507 GB, free: 7.832 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 3.417e-05/0.7146, allocations: 0 / 0.9507 GB, free: 7.832 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004228/0.715, allocations: 81.97 kB / 0.9508 GB, free: 7.777 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 4.056e-05/0.715, allocations: 10.81 kB / 0.9508 GB, free: 7.773 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.646e-05/0.7151, allocations: 9.359 kB / 0.9508 GB, free: 7.766 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 2.075e-05/0.7151, allocations: 2.75 kB / 0.9508 GB, free: 7.766 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 2.378e-05/0.7151, allocations: 6.688 kB / 0.9508 GB, free: 7.762 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.191e-05/0.7152, allocations: 1.375 kB / 0.9508 GB, free: 7.762 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001821/0.7153, allocations: 95.77 kB / 0.9509 GB, free: 7.707 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.382e-05/0.7154, allocations: 5.312 kB / 0.9509 GB, free: 7.703 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.61e-05/0.7154, allocations: 6.75 kB / 0.9509 GB, free: 7.699 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001607/0.7156, allocations: 84.09 kB / 0.951 GB, free: 7.648 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.7156, allocations: 0 / 0.951 GB, free: 7.648 MB / 0.7169 GB Notification: Performance of FrontEnd: time 9.12e-07/0.7156, allocations: 0 / 0.951 GB, free: 7.648 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.559e-06/0.7156, allocations: 0 / 0.951 GB, free: 7.648 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.0003994/0.716, allocations: 349.9 kB / 0.9513 GB, free: 7.27 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.529e-05/0.716, allocations: 10.28 kB / 0.9513 GB, free: 7.27 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.417e-05/0.7161, allocations: 35.81 kB / 0.9513 GB, free: 7.227 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.086e-05/0.7161, allocations: 2.375 kB / 0.9513 GB, free: 7.227 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.377e-05/0.7162, allocations: 164.2 kB / 0.9515 GB, free: 7.031 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.03e-05/0.7162, allocations: 9.453 kB / 0.9515 GB, free: 7.023 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.111e-05/0.7162, allocations: 3.188 kB / 0.9515 GB, free: 7.023 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001077/0.7163, allocations: 39.78 kB / 0.9516 GB, free: 6.984 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.336e-06/0.7164, allocations: 3.938 kB / 0.9516 GB, free: 6.98 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.418e-06/0.7164, allocations: 0 / 0.9516 GB, free: 6.98 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.7164, allocations: 5.156 kB / 0.9516 GB, free: 6.977 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.651e-05/0.7164, allocations: 8.656 kB / 0.9516 GB, free: 6.973 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002729/0.7167, allocations: 242.7 kB / 0.9518 GB, free: 6.695 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 8.046e-05/0.7168, allocations: 37.06 kB / 0.9518 GB, free: 6.66 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.716e-05/0.7168, allocations: 12.08 kB / 0.9518 GB, free: 6.652 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 6.752e-06/0.7168, allocations: 3.984 kB / 0.9519 GB, free: 6.648 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001085/0.717, allocations: 68.58 kB / 0.9519 GB, free: 6.578 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=5): time 1.393e-06/0.717, allocations: 0 / 0.9519 GB, free: 6.578 MB / 0.7169 GB Notification: Performance of matching and sorting (n=5): time 0.0001806/0.7171, allocations: 77.83 kB / 0.952 GB, free: 6.523 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.817e-05/0.7172, allocations: 52.81 kB / 0.952 GB, free: 6.461 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.157e-05/0.7172, allocations: 92.58 kB / 0.9521 GB, free: 6.363 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.077e-05/0.7173, allocations: 30.98 kB / 0.9522 GB, free: 6.328 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.737e-05/0.7173, allocations: 84.27 kB / 0.9522 GB, free: 6.242 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.858e-05/0.7173, allocations: 18.67 kB / 0.9523 GB, free: 6.227 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.181e-05/0.7173, allocations: 27.36 kB / 0.9523 GB, free: 6.199 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.021e-05/0.7174, allocations: 312.3 kB / 0.9526 GB, free: 5.887 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.236e-05/0.7174, allocations: 12.67 kB / 0.9526 GB, free: 5.879 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.262e-05/0.7175, allocations: 31.94 kB / 0.9526 GB, free: 5.844 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.588e-05/0.7175, allocations: 53.67 kB / 0.9527 GB, free: 5.793 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.7175, allocations: 3.938 kB / 0.9527 GB, free: 5.789 MB / 0.7169 GB Notification: Performance of matching and sorting (n=8) (initialization): time 9.44e-05/0.7176, allocations: 70.88 kB / 0.9527 GB, free: 5.738 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.588e-05/0.7176, allocations: 6.75 kB / 0.9528 GB, free: 5.738 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.473e-06/0.7177, allocations: 3.984 kB / 0.9528 GB, free: 5.734 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.607e-05/0.7177, allocations: 1.312 kB / 0.9528 GB, free: 5.734 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.94e-05/0.7177, allocations: 7.625 kB / 0.9528 GB, free: 5.734 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.865e-06/0.7178, allocations: 9.156 kB / 0.9528 GB, free: 5.727 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.738e-05/0.7178, allocations: 10.66 kB / 0.9528 GB, free: 5.719 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.358e-06/0.7178, allocations: 2.812 kB / 0.9528 GB, free: 5.719 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 (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 5.256e-05/0.7179, allocations: 116.3 kB / 0.9529 GB, free: 5.598 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.759e-06/0.7179, allocations: 1.5 kB / 0.9529 GB, free: 5.598 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.238e-05/0.7179, allocations: 7.547 kB / 0.9529 GB, free: 5.59 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.212e-06/0.7179, allocations: 5.344 kB / 0.9529 GB, free: 5.586 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.7179, allocations: 0 / 0.9529 GB, free: 5.586 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.357e-06/0.7179, allocations: 1.25 kB / 0.9529 GB, free: 5.586 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001671/0.7181, allocations: 308.1 kB / 0.9532 GB, free: 5.254 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.7181, allocations: 1.312 kB / 0.9532 GB, free: 5.254 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.862e-05/0.7181, allocations: 6.859 kB / 0.9532 GB, free: 5.25 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-06/0.7181, allocations: 0 / 0.9532 GB, free: 5.25 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.344e-06/0.7181, allocations: 1.438 kB / 0.9532 GB, free: 5.25 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.7181, allocations: 0 / 0.9532 GB, free: 5.25 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.424e-06/0.7182, allocations: 5.641 kB / 0.9532 GB, free: 5.246 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001077/0.7183, allocations: 162.1 kB / 0.9534 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.185e-05/0.7183, allocations: 82.56 kB / 0.9535 GB, free: 4.996 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.386e-05/0.7183, allocations: 1.906 kB / 0.9535 GB, free: 4.996 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.771e-05/0.7184, allocations: 0 / 0.9535 GB, free: 4.996 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.252e-05/0.7184, allocations: 1.469 kB / 0.9535 GB, free: 4.996 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.991e-06/0.7184, allocations: 1.375 kB / 0.9535 GB, free: 4.996 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.769e-05/0.7184, allocations: 81.88 kB / 0.9535 GB, free: 4.918 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7184, allocations: 0 / 0.9535 GB, free: 4.918 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002603/0.7187, allocations: 33.45 kB / 0.9536 GB, free: 4.906 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,$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.0005398/0.7192, allocations: 0.7664 MB / 0.9543 GB, free: 4.195 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.000108/0.7194, allocations: 36.36 kB / 0.9544 GB, free: 4.18 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.714e-06/0.7194, allocations: 4.125 kB / 0.9544 GB, free: 4.176 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 3.465e-05/0.7194, allocations: 10.22 kB / 0.9544 GB, free: 4.176 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002034/0.7196, allocations: 13.23 kB / 0.9544 GB, free: 4.164 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008078/0.7204, allocations: 1.251 MB / 0.9556 GB, free: 2.895 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001403/0.7206, allocations: 0.6819 MB / 0.9563 GB, free: 2.191 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.467e-05/0.7206, allocations: 2.094 kB / 0.9563 GB, free: 2.191 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.73e-05/0.7206, allocations: 10.69 kB / 0.9563 GB, free: 2.184 MB / 0.7169 GB Notification: Performance of SimCode: time 1.7e-07/0.7206, allocations: 0 / 0.9563 GB, free: 2.184 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.304/2.025, allocations: 1.753 MB / 0.958 GB, free: 1.305 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000175/2.025, allocations: 270.1 kB / 0.9582 GB, free: 0.9492 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.886/3.911, allocations: 0 / 0.9582 GB, free: 0.9492 MB / 0.7169 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration_res.mat --tempDir=temp_Buildings_9_Buildings_Occupants_BaseClasses_Validation_ExponentialVariableGeneration_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Occupants_BaseClasses_Validation_ExponentialVariableGeneration.fmu > 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) "" Variables in the reference:time,y Variables in the result:mu,seed,time,y