Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001286/0.001286, allocations: 108.2 kB / 16.46 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00132/0.00132, allocations: 191.8 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.428/1.428, allocations: 225.6 MB / 247.8 MB, free: 13.93 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.758/2.758, allocations: 476.7 MB / 0.7611 GB, free: 11.29 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Occupants_BaseClasses_Validation_ExponentialVariableGeneration",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration,fileNamePrefix="Buildings_11_Buildings_Occupants_BaseClasses_Validation_ExponentialVariableGeneration",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001976/0.001976, allocations: 71.89 kB / 1.104 GB, free: 9.301 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9175/0.9195, allocations: 168.7 MB / 1.269 GB, free: 5.199 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration): time 0.002538/0.9221, allocations: 1.215 MB / 1.27 GB, free: 3.977 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0008922/0.9229, allocations: 404.6 kB / 1.27 GB, free: 3.582 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.273e-05/0.923, allocations: 0 / 1.27 GB, free: 3.582 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 1.402e-05/0.923, allocations: 4 kB / 1.27 GB, free: 3.578 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 4.063e-05/0.923, allocations: 7.922 kB / 1.27 GB, free: 3.57 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005111/0.9235, allocations: 91.72 kB / 1.27 GB, free: 3.48 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 6.674e-05/0.9236, allocations: 15.94 kB / 1.27 GB, free: 3.465 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 3.978e-05/0.9236, allocations: 3.984 kB / 1.27 GB, free: 3.461 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 2.159e-05/0.9237, allocations: 4 kB / 1.27 GB, free: 3.457 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 2.959e-05/0.9237, allocations: 15.92 kB / 1.27 GB, free: 3.441 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.13e-05/0.9237, allocations: 0 / 1.27 GB, free: 3.441 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002377/0.9239, allocations: 99.88 kB / 1.271 GB, free: 3.344 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.231e-05/0.924, allocations: 0 / 1.271 GB, free: 3.344 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.785e-05/0.924, allocations: 11.94 kB / 1.271 GB, free: 3.332 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001828/0.9242, allocations: 85.58 kB / 1.271 GB, free: 3.25 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.9242, allocations: 0 / 1.271 GB, free: 3.25 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.382e-06/0.9242, allocations: 0 / 1.271 GB, free: 3.25 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.879e-06/0.9242, allocations: 0 / 1.271 GB, free: 3.25 MB / 0.9669 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.0004941/0.9247, allocations: 359.2 kB / 1.271 GB, free: 2.848 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.966e-05/0.9247, allocations: 8.031 kB / 1.271 GB, free: 2.84 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.326e-05/0.9248, allocations: 30.75 kB / 1.271 GB, free: 2.801 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.78e-05/0.9248, allocations: 4.938 kB / 1.271 GB, free: 2.797 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001344/0.9249, allocations: 172.3 kB / 1.271 GB, free: 2.59 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.151e-05/0.9249, allocations: 384 / 1.271 GB, free: 2.59 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.298e-05/0.925, allocations: 4.375 kB / 1.271 GB, free: 2.586 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001074/0.9251, allocations: 38.25 kB / 1.271 GB, free: 2.543 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.019e-05/0.9251, allocations: 3.938 kB / 1.271 GB, free: 2.539 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.678e-06/0.9251, allocations: 3.938 kB / 1.271 GB, free: 2.535 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.192e-06/0.9251, allocations: 11.92 kB / 1.271 GB, free: 2.523 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.165e-05/0.9251, allocations: 7.984 kB / 1.271 GB, free: 2.516 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003538/0.9255, allocations: 245 kB / 1.271 GB, free: 2.227 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 8.011e-05/0.9256, allocations: 34.52 kB / 1.271 GB, free: 2.184 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.197e-05/0.9256, allocations: 12.94 kB / 1.271 GB, free: 2.168 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 6.592e-06/0.9256, allocations: 0 / 1.271 GB, free: 2.168 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001569/0.9258, allocations: 63.34 kB / 1.272 GB, free: 2.094 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=5): time 1.172e-06/0.9258, allocations: 0 / 1.272 GB, free: 2.094 MB / 0.9669 GB Notification: Performance of matching and sorting (n=5): time 0.0001954/0.9259, allocations: 69.67 kB / 1.272 GB, free: 2.02 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.307e-05/0.926, allocations: 55.41 kB / 1.272 GB, free: 1.953 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.691e-05/0.9261, allocations: 97.86 kB / 1.272 GB, free: 1.848 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.774e-05/0.9261, allocations: 25.7 kB / 1.272 GB, free: 1.816 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 4.434e-05/0.9261, allocations: 88.12 kB / 1.272 GB, free: 1.727 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.755e-05/0.9261, allocations: 7.906 kB / 1.272 GB, free: 1.719 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.14e-05/0.9262, allocations: 29.84 kB / 1.272 GB, free: 1.684 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001402/0.9263, allocations: 318.8 kB / 1.272 GB, free: 1.363 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.29e-05/0.9264, allocations: 11.94 kB / 1.272 GB, free: 1.352 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.569e-05/0.9264, allocations: 35.42 kB / 1.272 GB, free: 1.305 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.037e-05/0.9265, allocations: 47.38 kB / 1.272 GB, free: 1.246 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.048e-06/0.9265, allocations: 3.938 kB / 1.272 GB, free: 1.242 MB / 0.9669 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001163/0.9266, allocations: 73.61 kB / 1.272 GB, free: 1.164 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.362e-05/0.9266, allocations: 4 kB / 1.272 GB, free: 1.16 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.9266, allocations: 0 / 1.272 GB, free: 1.16 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.44e-05/0.9266, allocations: 4 kB / 1.272 GB, free: 1.156 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.594e-05/0.9267, allocations: 12 kB / 1.272 GB, free: 1.145 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.074e-06/0.9267, allocations: 3.938 kB / 1.272 GB, free: 1.141 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.865e-05/0.9267, allocations: 11.83 kB / 1.272 GB, free: 1.129 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.867e-06/0.9267, allocations: 4 kB / 1.272 GB, free: 1.125 MB / 0.9669 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 9.251e-05/0.9268, allocations: 126.4 kB / 1.273 GB, free: 0.9922 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.054e-05/0.9268, allocations: 256 / 1.273 GB, free: 0.9922 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.176e-05/0.9269, allocations: 3.562 kB / 1.273 GB, free: 0.9883 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.9269, allocations: 0 / 1.273 GB, free: 0.9883 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/0.9269, allocations: 8 kB / 1.273 GB, free: 0.9805 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.434e-06/0.9269, allocations: 0 / 1.273 GB, free: 0.9805 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002775/0.9271, allocations: 302.5 kB / 1.273 GB, free: 0.6289 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.9271, allocations: 0 / 1.273 GB, free: 0.6289 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.212e-05/0.9272, allocations: 8 kB / 1.273 GB, free: 0.6211 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.063e-06/0.9272, allocations: 3.938 kB / 1.273 GB, free: 0.6172 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.097e-05/0.9272, allocations: 8.094 kB / 1.273 GB, free: 0.6094 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.9272, allocations: 0 / 1.273 GB, free: 0.6094 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.9272, allocations: 0 / 1.273 GB, free: 0.6094 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001604/0.9273, allocations: 171.4 kB / 1.273 GB, free: 436 kB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.405e-05/0.9274, allocations: 77.11 kB / 1.273 GB, free: 340 kB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.197e-05/0.9274, allocations: 0 / 1.273 GB, free: 340 kB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.995e-05/0.9275, allocations: 0 / 1.273 GB, free: 340 kB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.61e-05/0.9275, allocations: 8 kB / 1.273 GB, free: 332 kB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.265e-06/0.9275, allocations: 3.984 kB / 1.273 GB, free: 328 kB / 0.9669 GB Notification: Performance of sorting global known variables: time 3.932e-05/0.9275, allocations: 79.28 kB / 1.273 GB, free: 248 kB / 0.9669 GB Notification: Performance of sort global known variables: time 8e-08/0.9275, allocations: 0 / 1.273 GB, free: 248 kB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002806/0.9278, allocations: 31.88 kB / 1.273 GB, free: 216 kB / 0.9669 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.000768/0.9286, allocations: 0.7734 MB / 1.274 GB, free: 15.43 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001041/0.9287, allocations: 27.92 kB / 1.274 GB, free: 15.4 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/0.9287, allocations: 4 kB / 1.274 GB, free: 15.39 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 4.045e-05/0.9287, allocations: 15.98 kB / 1.274 GB, free: 15.38 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001982/0.9289, allocations: 3.938 kB / 1.274 GB, free: 15.38 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001214/0.9301, allocations: 1.265 MB / 1.275 GB, free: 14.01 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003186/0.9304, allocations: 0.6768 MB / 1.276 GB, free: 13.31 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.175e-05/0.9305, allocations: 4 kB / 1.276 GB, free: 13.3 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.8e-05/0.9305, allocations: 15.42 kB / 1.276 GB, free: 13.29 MB / 0.9825 GB Notification: Performance of SimCode: time 4.51e-07/0.9305, allocations: 0 / 1.276 GB, free: 13.29 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02476/0.9553, allocations: 1.927 MB / 1.278 GB, free: 11.52 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.262/9.217, allocations: 14.44 kB / 1.278 GB, free: 11.5 MB / 0.9825 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.pipe ; mkfifo Buildings_11_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.pipe >> ../files/Buildings_11_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration_res.mat --tempDir=temp_Buildings_11_Buildings_Occupants_BaseClasses_Validation_ExponentialVariableGeneration_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Occupants_BaseClasses_Validation_ExponentialVariableGeneration.fmu > Buildings_11_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_BaseClasses_Validation_ExponentialVariableGeneration.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] "" Variables in the reference:time,y Variables in the result:mu,seed,time,y [Calling sys.exit(0), Time elapsed: 15.246251632925123]