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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001921/0.001921, allocations: 107.1 kB / 16.45 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.002213/0.002213, allocations: 192.5 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.453/1.453, allocations: 225.6 MB / 247.8 MB, free: 13.95 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.582/2.582, allocations: 443.5 MB / 0.7287 GB, free: 13.25 MB / 0.5919 GB " [Timeout remaining time 177] 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"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001953/0.001953, allocations: 67.89 kB / 1.056 GB, free: 5.949 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8881/0.8901, allocations: 160.7 MB / 1.213 GB, free: 3.934 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration): time 0.002883/0.8929, allocations: 1.209 MB / 1.214 GB, free: 2.98 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001024/0.894, allocations: 406.1 kB / 1.214 GB, free: 2.684 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.986e-05/0.894, allocations: 1.188 kB / 1.214 GB, free: 2.684 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 1.78e-05/0.894, allocations: 0 / 1.214 GB, free: 2.684 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 4.997e-05/0.8941, allocations: 3.938 kB / 1.214 GB, free: 2.68 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006549/0.8947, allocations: 90.41 kB / 1.215 GB, free: 2.621 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 8.864e-05/0.8948, allocations: 15.02 kB / 1.215 GB, free: 2.613 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 4.769e-05/0.8949, allocations: 5.484 kB / 1.215 GB, free: 2.609 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 2.753e-05/0.8949, allocations: 10.84 kB / 1.215 GB, free: 2.602 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 3.534e-05/0.8949, allocations: 11.17 kB / 1.215 GB, free: 2.594 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.409e-05/0.8949, allocations: 1.062 kB / 1.215 GB, free: 2.594 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002747/0.8952, allocations: 94.36 kB / 1.215 GB, free: 2.543 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.854e-05/0.8952, allocations: 5.141 kB / 1.215 GB, free: 2.539 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 3.778e-05/0.8953, allocations: 14.86 kB / 1.215 GB, free: 2.527 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002364/0.8955, allocations: 86.97 kB / 1.215 GB, free: 2.477 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.8955, allocations: 0 / 1.215 GB, free: 2.477 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.292e-06/0.8955, allocations: 0 / 1.215 GB, free: 2.477 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.182e-05/0.8955, allocations: 0 / 1.215 GB, free: 2.477 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.0005765/0.8961, allocations: 358 kB / 1.215 GB, free: 2.09 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.501e-05/0.8962, allocations: 10.16 kB / 1.215 GB, free: 2.09 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.587e-05/0.8962, allocations: 31.84 kB / 1.215 GB, free: 2.051 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.864e-05/0.8962, allocations: 2.031 kB / 1.215 GB, free: 2.051 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001386/0.8964, allocations: 161.4 kB / 1.215 GB, free: 1.855 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.553e-05/0.8964, allocations: 2.594 kB / 1.215 GB, free: 1.855 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.46e-05/0.8964, allocations: 2.594 kB / 1.215 GB, free: 1.855 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001183/0.8965, allocations: 43.77 kB / 1.215 GB, free: 1.812 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.831e-05/0.8966, allocations: 7.938 kB / 1.215 GB, free: 1.805 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.127e-06/0.8966, allocations: 1.125 kB / 1.215 GB, free: 1.805 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.049e-06/0.8966, allocations: 0 / 1.215 GB, free: 1.805 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.811e-05/0.8966, allocations: 8.25 kB / 1.215 GB, free: 1.801 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003725/0.897, allocations: 251.5 kB / 1.216 GB, free: 1.516 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001035/0.8971, allocations: 36.44 kB / 1.216 GB, free: 1.48 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.367e-05/0.8971, allocations: 14.58 kB / 1.216 GB, free: 1.469 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.023e-05/0.8971, allocations: 0 / 1.216 GB, free: 1.469 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000177/0.8973, allocations: 64.8 kB / 1.216 GB, free: 1.402 MB / 0.92 GB Notification: Performance of pre-optimization done (n=5): time 1.423e-06/0.8973, allocations: 0 / 1.216 GB, free: 1.402 MB / 0.92 GB Notification: Performance of matching and sorting (n=5): time 0.0002017/0.8975, allocations: 65.31 kB / 1.216 GB, free: 1.359 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.196e-05/0.8975, allocations: 60.64 kB / 1.216 GB, free: 1.289 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.083e-05/0.8976, allocations: 96.92 kB / 1.216 GB, free: 1.188 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.763e-05/0.8977, allocations: 26.8 kB / 1.216 GB, free: 1.156 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 4.251e-05/0.8977, allocations: 89.17 kB / 1.216 GB, free: 1.066 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.253e-05/0.8977, allocations: 14.08 kB / 1.216 GB, free: 1.055 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.098e-05/0.8978, allocations: 26.89 kB / 1.216 GB, free: 1.027 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001436/0.8979, allocations: 315.9 kB / 1.216 GB, free: 0.7109 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.421e-05/0.8979, allocations: 9.344 kB / 1.216 GB, free: 0.707 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.068e-05/0.898, allocations: 39.58 kB / 1.216 GB, free: 0.6641 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.732e-05/0.8981, allocations: 54.09 kB / 1.216 GB, free: 0.6133 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.147e-06/0.8981, allocations: 5 kB / 1.216 GB, free: 0.6094 MB / 0.92 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001392/0.8982, allocations: 70.31 kB / 1.217 GB, free: 0.5586 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.604e-05/0.8982, allocations: 5.438 kB / 1.217 GB, free: 0.5586 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.8982, allocations: 1.156 kB / 1.217 GB, free: 0.5586 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.608e-05/0.8982, allocations: 5.188 kB / 1.217 GB, free: 0.5547 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.333e-05/0.8983, allocations: 12.36 kB / 1.217 GB, free: 0.5508 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.174e-06/0.8983, allocations: 0.9062 kB / 1.217 GB, free: 0.5508 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.339e-05/0.8984, allocations: 17.98 kB / 1.217 GB, free: 0.5352 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.507e-06/0.8984, allocations: 2.031 kB / 1.217 GB, free: 0.5352 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 0.0001201/0.8985, allocations: 117.1 kB / 1.217 GB, free: 424 kB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.342e-05/0.8985, allocations: 0.9375 kB / 1.217 GB, free: 424 kB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.995e-05/0.8985, allocations: 4.469 kB / 1.217 GB, free: 412 kB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.337e-06/0.8985, allocations: 5.062 kB / 1.217 GB, free: 408 kB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.8985, allocations: 0 / 1.217 GB, free: 408 kB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.898e-06/0.8986, allocations: 5.047 kB / 1.217 GB, free: 404 kB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003145/0.8989, allocations: 296.7 kB / 1.217 GB, free: 76 kB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.8989, allocations: 3.938 kB / 1.217 GB, free: 72 kB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.293e-05/0.8989, allocations: 3.375 kB / 1.217 GB, free: 72 kB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.046e-06/0.8989, allocations: 0.9375 kB / 1.217 GB, free: 72 kB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.416e-06/0.8989, allocations: 1.062 kB / 1.217 GB, free: 72 kB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.632e-06/0.8989, allocations: 7.984 kB / 1.217 GB, free: 64 kB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.8989, allocations: 0.7812 kB / 1.217 GB, free: 64 kB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001912/0.8991, allocations: 163.2 kB / 1.217 GB, free: 15.91 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 6.535e-05/0.8992, allocations: 82.25 kB / 1.217 GB, free: 15.81 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.33e-05/0.8992, allocations: 1.031 kB / 1.217 GB, free: 15.81 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.364e-05/0.8992, allocations: 4.703 kB / 1.217 GB, free: 15.81 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.722e-05/0.8993, allocations: 1.562 kB / 1.217 GB, free: 15.81 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.723e-06/0.8993, allocations: 2.219 kB / 1.217 GB, free: 15.81 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 4.573e-05/0.8993, allocations: 76.34 kB / 1.217 GB, free: 15.73 MB / 0.9356 GB Notification: Performance of sort global known variables: time 9e-08/0.8993, allocations: 5.188 kB / 1.217 GB, free: 15.73 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003145/0.8996, allocations: 36.61 kB / 1.217 GB, free: 15.71 MB / 0.9356 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.0008063/0.9004, allocations: 0.7717 MB / 1.218 GB, free: 15 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0001231/0.9006, allocations: 31.3 kB / 1.218 GB, free: 14.98 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.9006, allocations: 0 / 1.218 GB, free: 14.98 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 3.279e-05/0.9006, allocations: 11.44 kB / 1.218 GB, free: 14.98 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001996/0.9008, allocations: 5.969 kB / 1.218 GB, free: 14.98 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001303/0.9021, allocations: 1.269 MB / 1.219 GB, free: 13.7 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003818/0.9025, allocations: 0.6768 MB / 1.22 GB, free: 13 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 2.423e-05/0.9025, allocations: 3.031 kB / 1.22 GB, free: 13 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.861e-05/0.9025, allocations: 13.56 kB / 1.22 GB, free: 12.99 MB / 0.9356 GB Notification: Performance of SimCode: time 4.31e-07/0.9025, allocations: 0 / 1.22 GB, free: 12.99 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02571/0.9282, allocations: 1.927 MB / 1.222 GB, free: 11.96 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.074/9.002, allocations: 13.09 kB / 1.222 GB, free: 11.95 MB / 0.9356 GB " [Timeout remaining time 291] (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 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Occupants_BaseClasses_Validation_ExponentialVariableGeneration.fmu > Buildings_10_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.pipe 2>&1) [Timeout 420.0] 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_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 14.811886422801763]