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.00117/0.00117, allocations: 110.8 kB / 17.54 MB, free: 4.641 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.001128/0.001128, allocations: 189.9 kB / 20.71 MB, free: 1.484 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.29/1.29, allocations: 225.6 MB / 249.3 MB, free: 3.195 MB / 190.1 MB " [Timeout remaining time 179] 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.351/2.351, allocations: 443.5 MB / 0.7304 GB, free: 13.99 MB / 0.5763 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.001919/0.001919, allocations: 63.91 kB / 1.059 GB, free: 1.059 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2589/0.2608, allocations: 160.7 MB / 1.216 GB, free: 28 kB / 0.9513 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration): time 0.00221/0.2631, allocations: 1.208 MB / 1.217 GB, free: 14.8 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0008007/0.2639, allocations: 419.7 kB / 1.217 GB, free: 14.39 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.098e-05/0.2639, allocations: 0 / 1.217 GB, free: 14.39 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 1.843e-05/0.2639, allocations: 3.938 kB / 1.217 GB, free: 14.39 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 2.461e-05/0.2639, allocations: 0 / 1.217 GB, free: 14.39 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.00046/0.2644, allocations: 99.59 kB / 1.217 GB, free: 14.29 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 5.143e-05/0.2644, allocations: 8 kB / 1.217 GB, free: 14.28 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 3.561e-05/0.2645, allocations: 11.97 kB / 1.217 GB, free: 14.27 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 1.621e-05/0.2645, allocations: 4 kB / 1.217 GB, free: 14.27 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 2.351e-05/0.2645, allocations: 7.984 kB / 1.217 GB, free: 14.26 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.246e-05/0.2645, allocations: 4 kB / 1.217 GB, free: 14.25 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001969/0.2647, allocations: 99.77 kB / 1.217 GB, free: 14.16 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.253e-05/0.2647, allocations: 8 kB / 1.217 GB, free: 14.15 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.273e-05/0.2647, allocations: 7.984 kB / 1.217 GB, free: 14.14 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001526/0.2649, allocations: 76.05 kB / 1.217 GB, free: 14.07 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.2649, allocations: 0 / 1.217 GB, free: 14.07 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.152e-06/0.2649, allocations: 4 kB / 1.217 GB, free: 14.06 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.428e-06/0.2649, allocations: 0 / 1.217 GB, free: 14.06 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.0004216/0.2653, allocations: 347.3 kB / 1.218 GB, free: 13.67 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.369e-05/0.2654, allocations: 15.97 kB / 1.218 GB, free: 13.66 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.381e-05/0.2654, allocations: 38.75 kB / 1.218 GB, free: 13.61 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.219e-05/0.2654, allocations: 0.9375 kB / 1.218 GB, free: 13.61 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001143/0.2656, allocations: 168.4 kB / 1.218 GB, free: 13.41 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.004e-05/0.2656, allocations: 384 / 1.218 GB, free: 13.41 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.568e-06/0.2656, allocations: 4.312 kB / 1.218 GB, free: 13.4 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.727e-05/0.2657, allocations: 42.25 kB / 1.218 GB, free: 13.36 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.475e-06/0.2657, allocations: 3.938 kB / 1.218 GB, free: 13.35 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.893e-06/0.2657, allocations: 0 / 1.218 GB, free: 13.35 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.347e-06/0.2657, allocations: 0 / 1.218 GB, free: 13.35 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.973e-05/0.2657, allocations: 15.91 kB / 1.218 GB, free: 13.34 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003127/0.266, allocations: 252.9 kB / 1.218 GB, free: 13.04 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 7.924e-05/0.2661, allocations: 34.45 kB / 1.218 GB, free: 13 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.032e-05/0.2661, allocations: 16.94 kB / 1.218 GB, free: 12.98 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 8.206e-06/0.2661, allocations: 0 / 1.218 GB, free: 12.98 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001288/0.2663, allocations: 59.41 kB / 1.218 GB, free: 12.91 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=5): time 1.102e-06/0.2663, allocations: 0 / 1.218 GB, free: 12.91 MB / 0.9669 GB Notification: Performance of matching and sorting (n=5): time 0.000175/0.2664, allocations: 77.61 kB / 1.218 GB, free: 12.82 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.394e-05/0.2665, allocations: 55.41 kB / 1.218 GB, free: 12.76 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.724e-05/0.2666, allocations: 97.8 kB / 1.219 GB, free: 12.65 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.716e-05/0.2666, allocations: 29.69 kB / 1.219 GB, free: 12.62 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 3.682e-05/0.2666, allocations: 84.14 kB / 1.219 GB, free: 12.53 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.856e-05/0.2666, allocations: 20.02 kB / 1.219 GB, free: 12.51 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.717e-05/0.2667, allocations: 21.72 kB / 1.219 GB, free: 12.48 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.000118/0.2668, allocations: 318.8 kB / 1.219 GB, free: 12.16 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.865e-05/0.2668, allocations: 4 kB / 1.219 GB, free: 12.16 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.936e-05/0.2668, allocations: 35.42 kB / 1.219 GB, free: 12.11 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.673e-05/0.2669, allocations: 51.38 kB / 1.219 GB, free: 12.05 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.578e-06/0.2669, allocations: 3.938 kB / 1.219 GB, free: 12.05 MB / 0.9669 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001024/0.267, allocations: 69.61 kB / 1.219 GB, free: 11.97 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.28e-05/0.267, allocations: 8 kB / 1.219 GB, free: 11.96 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.486e-06/0.267, allocations: 0 / 1.219 GB, free: 11.96 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.019e-05/0.267, allocations: 0 / 1.219 GB, free: 11.96 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.621e-05/0.2671, allocations: 11.94 kB / 1.219 GB, free: 11.95 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.452e-06/0.2671, allocations: 4 kB / 1.219 GB, free: 11.95 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.736e-05/0.2671, allocations: 12.02 kB / 1.219 GB, free: 11.94 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.146e-06/0.2671, allocations: 4 kB / 1.219 GB, free: 11.93 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 7.969e-05/0.2672, allocations: 117.8 kB / 1.219 GB, free: 11.81 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.103e-05/0.2672, allocations: 7.938 kB / 1.219 GB, free: 11.8 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.956e-05/0.2673, allocations: 3.562 kB / 1.219 GB, free: 11.79 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.2673, allocations: 0 / 1.219 GB, free: 11.79 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.845e-06/0.2673, allocations: 0 / 1.219 GB, free: 11.79 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.344e-06/0.2673, allocations: 0 / 1.219 GB, free: 11.79 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002447/0.2675, allocations: 302.5 kB / 1.22 GB, free: 11.44 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.2675, allocations: 4 kB / 1.22 GB, free: 11.44 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.004e-05/0.2675, allocations: 4 kB / 1.22 GB, free: 11.43 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.2675, allocations: 3.938 kB / 1.22 GB, free: 11.43 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.625e-06/0.2675, allocations: 4 kB / 1.22 GB, free: 11.43 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.2675, allocations: 320 / 1.22 GB, free: 11.43 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.52e-07/0.2675, allocations: 0 / 1.22 GB, free: 11.43 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001413/0.2677, allocations: 171.5 kB / 1.22 GB, free: 11.24 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.547e-05/0.2677, allocations: 92.98 kB / 1.22 GB, free: 11.13 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.019e-05/0.2677, allocations: 4 kB / 1.22 GB, free: 11.13 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.654e-05/0.2678, allocations: 0 / 1.22 GB, free: 11.13 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.62e-05/0.2678, allocations: 4 kB / 1.22 GB, free: 11.12 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.512e-06/0.2678, allocations: 3.984 kB / 1.22 GB, free: 11.12 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 3.49e-05/0.2678, allocations: 75.28 kB / 1.22 GB, free: 11.05 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1e-07/0.2678, allocations: 4 kB / 1.22 GB, free: 11.04 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002544/0.2681, allocations: 31.88 kB / 1.22 GB, free: 11.01 MB / 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.0006504/0.2687, allocations: 0.7573 MB / 1.221 GB, free: 10.24 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 9.667e-05/0.2688, allocations: 31.92 kB / 1.221 GB, free: 10.21 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.2688, allocations: 0 / 1.221 GB, free: 10.21 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 3.312e-05/0.2689, allocations: 20.05 kB / 1.221 GB, free: 10.19 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001875/0.2691, allocations: 8 kB / 1.221 GB, free: 10.18 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001029/0.2701, allocations: 1.253 MB / 1.222 GB, free: 8.828 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002627/0.2704, allocations: 0.6806 MB / 1.223 GB, free: 8.121 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 1.789e-05/0.2704, allocations: 4 kB / 1.223 GB, free: 8.117 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.755e-05/0.2704, allocations: 15.42 kB / 1.223 GB, free: 8.105 MB / 0.9669 GB Notification: Performance of SimCode: time 2.8e-07/0.2704, allocations: 0 / 1.223 GB, free: 8.105 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0229/0.2933, allocations: 1.893 MB / 1.225 GB, free: 6.305 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.076/7.37, allocations: 16.03 kB / 1.225 GB, free: 6.293 MB / 0.9669 GB " [Timeout remaining time 293] (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 & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.csv","/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) [Timeout 300] "" [Timeout remaining time 300] "" Variables in the reference:time,y Variables in the result:time,y [Calling sys.exit(0), Time elapsed: 12.579389767000976]