Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegStep.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008035/0.0008035, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009345/0.0009345, allocations: 165.9 kB / 22.46 MB, free: 2.105 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8939/0.8939, allocations: 177.1 MB / 202.8 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.731/1.731, allocations: 377.8 MB / 0.6221 GB, free: 8.641 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.RegStep,fileNamePrefix="Buildings_12_Buildings_Utilities_Math_Functions_Examples_RegStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.RegStep,fileNamePrefix="Buildings_12_Buildings_Utilities_Math_Functions_Examples_RegStep",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 0 / 0.981 GB, free: 2.492 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.958e-05/2.125e-05, allocations: 4.812 kB / 0.981 GB, free: 2.488 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegStep): time 0.001581/0.001602, allocations: 0.5956 MB / 0.9816 GB, free: 1.895 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0002701/0.001872, allocations: 47.73 kB / 0.9816 GB, free: 1.848 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.643e-05/0.001889, allocations: 4 kB / 0.9816 GB, free: 1.844 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 1.641e-05/0.001905, allocations: 0 / 0.9816 GB, free: 1.844 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 6.772e-06/0.001912, allocations: 0 / 0.9816 GB, free: 1.844 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002613/0.002173, allocations: 11.98 kB / 0.9817 GB, free: 1.832 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 4.884e-05/0.002222, allocations: 3.984 kB / 0.9817 GB, free: 1.828 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 4.768e-05/0.00227, allocations: 8 kB / 0.9817 GB, free: 1.82 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 2.731e-05/0.002297, allocations: 3.938 kB / 0.9817 GB, free: 1.816 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 2.512e-05/0.002322, allocations: 0 / 0.9817 GB, free: 1.816 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 1.374e-05/0.002336, allocations: 0 / 0.9817 GB, free: 1.816 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000115/0.002451, allocations: 27.91 kB / 0.9817 GB, free: 1.789 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 1.286e-05/0.002464, allocations: 0 / 0.9817 GB, free: 1.789 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 1.478e-05/0.002478, allocations: 0 / 0.9817 GB, free: 1.789 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.0001002/0.002579, allocations: 15.98 kB / 0.9817 GB, free: 1.773 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 2.575e-06/0.002581, allocations: 0 / 0.9817 GB, free: 1.773 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.222e-06/0.002582, allocations: 0 / 0.9817 GB, free: 1.773 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 3.747e-06/0.002586, allocations: 0 / 0.9817 GB, free: 1.773 MB / 0.9323 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002615/0.002848, allocations: 246.4 kB / 0.9819 GB, free: 1.5 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.497e-05/0.002893, allocations: 8.031 kB / 0.982 GB, free: 1.492 MB / 0.9323 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.869e-05/0.002931, allocations: 34.75 kB / 0.982 GB, free: 1.449 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002391/0.00317, allocations: 20.91 kB / 0.982 GB, free: 1.43 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.034e-05/0.003241, allocations: 101.8 kB / 0.9821 GB, free: 1.305 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.234e-05/0.003253, allocations: 384 / 0.9821 GB, free: 1.305 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.396e-06/0.003261, allocations: 384 / 0.9821 GB, free: 1.305 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001279/0.003389, allocations: 38.25 kB / 0.9821 GB, free: 1.262 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.198e-06/0.003399, allocations: 8.125 kB / 0.9822 GB, free: 1.254 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.278e-06/0.003408, allocations: 384 / 0.9822 GB, free: 1.254 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.562e-06/0.003414, allocations: 4.125 kB / 0.9822 GB, free: 1.25 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.807e-05/0.003482, allocations: 11.92 kB / 0.9822 GB, free: 1.238 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001334/0.003616, allocations: 124.8 kB / 0.9823 GB, free: 1.074 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 6.737e-05/0.003683, allocations: 18.61 kB / 0.9823 GB, free: 1.047 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.224e-05/0.003725, allocations: 12.91 kB / 0.9823 GB, free: 1.031 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 1.905e-05/0.003745, allocations: 0 / 0.9823 GB, free: 1.031 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.983e-05/0.003764, allocations: 30.56 kB / 0.9823 GB, free: 0.9922 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=1): time 1.283e-06/0.003766, allocations: 4 kB / 0.9823 GB, free: 0.9883 MB / 0.9323 GB Notification: Performance of matching and sorting (n=1): time 0.0002059/0.003972, allocations: 53.61 kB / 0.9824 GB, free: 0.9297 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.627e-05/0.004008, allocations: 55.34 kB / 0.9825 GB, free: 0.8633 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.996e-05/0.004038, allocations: 93.8 kB / 0.9825 GB, free: 0.7617 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 1.202e-05/0.00405, allocations: 25.7 kB / 0.9826 GB, free: 0.7305 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 2.552e-05/0.004075, allocations: 84.12 kB / 0.9826 GB, free: 0.6445 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 2.873e-05/0.004104, allocations: 4 kB / 0.9827 GB, free: 0.6406 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.977e-05/0.004134, allocations: 9.719 kB / 0.9827 GB, free: 0.625 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 9.554e-05/0.004229, allocations: 319 kB / 0.983 GB, free: 312 kB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.162e-05/0.004271, allocations: 7.984 kB / 0.983 GB, free: 304 kB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.96e-05/0.004301, allocations: 4 kB / 0.983 GB, free: 300 kB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.089e-05/0.004371, allocations: 16.84 kB / 0.983 GB, free: 280 kB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.004373, allocations: 0 / 0.983 GB, free: 280 kB / 0.9323 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001076/0.004481, allocations: 41.62 kB / 0.983 GB, free: 232 kB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.569e-05/0.004497, allocations: 12.08 kB / 0.983 GB, free: 220 kB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.451e-06/0.004502, allocations: 0 / 0.983 GB, free: 220 kB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.267e-05/0.004515, allocations: 4 kB / 0.983 GB, free: 216 kB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.506e-05/0.00458, allocations: 0 / 0.983 GB, free: 216 kB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.414e-06/0.004587, allocations: 3.938 kB / 0.9831 GB, free: 212 kB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.618e-05/0.004614, allocations: 4 kB / 0.9831 GB, free: 208 kB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.392e-06/0.00462, allocations: 0 / 0.9831 GB, free: 208 kB / 0.9323 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * 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.71e-05/0.004687, allocations: 109.8 kB / 0.9832 GB, free: 88 kB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.071e-05/0.004698, allocations: 8 kB / 0.9832 GB, free: 80 kB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.338e-05/0.004731, allocations: 7 kB / 0.9832 GB, free: 76 kB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.004733, allocations: 0 / 0.9832 GB, free: 76 kB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.255e-06/0.004741, allocations: 3.938 kB / 0.9832 GB, free: 72 kB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.004744, allocations: 0 / 0.9832 GB, free: 72 kB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.1e-05/0.004835, allocations: 116.7 kB / 0.9833 GB, free: 15.91 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.522e-06/0.004837, allocations: 0 / 0.9833 GB, free: 15.91 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.847e-05/0.004885, allocations: 7.984 kB / 0.9833 GB, free: 15.91 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.005e-06/0.004888, allocations: 0 / 0.9833 GB, free: 15.91 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.833e-06/0.004895, allocations: 0 / 0.9833 GB, free: 15.91 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.004897, allocations: 4 kB / 0.9833 GB, free: 15.9 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.414e-06/0.0049, allocations: 3.938 kB / 0.9833 GB, free: 15.9 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001424/0.005042, allocations: 77.05 kB / 0.9834 GB, free: 15.8 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 5.63e-06/0.005048, allocations: 4 kB / 0.9834 GB, free: 15.8 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.322e-05/0.005061, allocations: 3.984 kB / 0.9834 GB, free: 15.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.167e-05/0.005083, allocations: 0 / 0.9834 GB, free: 15.8 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.282e-05/0.005095, allocations: 3.938 kB / 0.9834 GB, free: 15.79 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.837e-06/0.005099, allocations: 4 kB / 0.9834 GB, free: 15.79 MB / 0.948 GB Notification: Performance of sorting global known variables: time 2.559e-05/0.005125, allocations: 75.28 kB / 0.9835 GB, free: 15.71 MB / 0.948 GB Notification: Performance of sort global known variables: time 9e-08/0.005125, allocations: 0 / 0.9835 GB, free: 15.71 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001981/0.005323, allocations: 0 / 0.9835 GB, free: 15.71 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 1 * 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 Backend phase and start with SimCode phase: time 0.0005734/0.005896, allocations: 0.6046 MB / 0.9841 GB, free: 15.08 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0001318/0.006028, allocations: 11.98 kB / 0.9841 GB, free: 15.07 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.704e-06/0.00603, allocations: 3.938 kB / 0.9841 GB, free: 15.07 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 3.053e-05/0.00606, allocations: 7.984 kB / 0.9841 GB, free: 15.06 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001462/0.006207, allocations: 3.938 kB / 0.9841 GB, free: 15.05 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003401/0.006547, allocations: 114.8 kB / 0.9842 GB, free: 14.9 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.952e-05/0.006586, allocations: 55.22 kB / 0.9842 GB, free: 14.83 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 3.813e-05/0.006624, allocations: 8 kB / 0.9843 GB, free: 14.82 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.204e-05/0.006657, allocations: 8.5 kB / 0.9843 GB, free: 14.81 MB / 0.948 GB Notification: Performance of SimCode: time 6.01e-07/0.006657, allocations: 0 / 0.9843 GB, free: 14.81 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01752/0.02418, allocations: 1.597 MB / 0.9858 GB, free: 13.34 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.822/6.846, allocations: 9.438 kB / 0.9858 GB, free: 13.34 MB / 0.948 GB " [Timeout remaining time 293] (rm -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegStep.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegStep_res.mat --tempDir=temp_Buildings_12_Buildings_Utilities_Math_Functions_Examples_RegStep_fmu --startTime=-1 --stopTime=1 --stepSize=0.0008 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Utilities_Math_Functions_Examples_RegStep.fmu > Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegStep_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Functions_Examples_RegStep.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.806104366667569]