Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.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.001042/0.001042, 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.001194/0.001194, 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.9331/0.9331, allocations: 177.1 MB / 202.8 MB, free: 5.738 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.77/1.77, allocations: 377.8 MB / 0.6221 GB, free: 8.672 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.RegNonZeroPowerDerivativeCheck,fileNamePrefix="Buildings_12_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck,fileNamePrefix="Buildings_12_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.693e-06/1.693e-06, allocations: 0 / 0.981 GB, free: 2.551 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.842e-05/2.012e-05, allocations: 10.22 kB / 0.981 GB, free: 2.539 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck): time 0.001107/0.001127, allocations: 0.6059 MB / 0.9816 GB, free: 1.938 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.000471/0.001598, allocations: 306.8 kB / 0.9819 GB, free: 1.637 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.101e-05/0.001619, allocations: 0 / 0.9819 GB, free: 1.637 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 1.47e-05/0.001634, allocations: 0 / 0.9819 GB, free: 1.637 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 1.813e-05/0.001652, allocations: 0 / 0.9819 GB, free: 1.637 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003958/0.002048, allocations: 119.5 kB / 0.982 GB, free: 1.52 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 4.924e-05/0.002097, allocations: 15.92 kB / 0.982 GB, free: 1.504 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 3.773e-05/0.002135, allocations: 4 kB / 0.982 GB, free: 1.5 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 2.658e-05/0.002161, allocations: 0 / 0.982 GB, free: 1.5 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 4.897e-05/0.00221, allocations: 4 kB / 0.982 GB, free: 1.496 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 1.339e-05/0.002224, allocations: 0 / 0.982 GB, free: 1.496 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002577/0.002481, allocations: 267.6 kB / 0.9823 GB, free: 1.234 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 1.314e-05/0.002494, allocations: 0 / 0.9823 GB, free: 1.234 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 1.559e-05/0.00251, allocations: 8 kB / 0.9823 GB, free: 1.227 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.0001574/0.002668, allocations: 127.7 kB / 0.9824 GB, free: 1.102 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 1.703e-06/0.002669, allocations: 0 / 0.9824 GB, free: 1.102 MB / 0.9323 GB Notification: Performance of FrontEnd: time 7.41e-07/0.00267, allocations: 0 / 0.9824 GB, free: 1.102 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 3.336e-06/0.002673, allocations: 0 / 0.9824 GB, free: 1.102 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0002835/0.002957, allocations: 270.1 kB / 0.9827 GB, free: 0.8047 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.624e-05/0.002993, allocations: 8.031 kB / 0.9827 GB, free: 0.7969 MB / 0.9323 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.58e-05/0.003019, allocations: 30.75 kB / 0.9827 GB, free: 0.7578 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.886e-05/0.003058, allocations: 4.938 kB / 0.9827 GB, free: 0.7539 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.627e-05/0.003124, allocations: 101.8 kB / 0.9828 GB, free: 0.6289 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.938e-06/0.003134, allocations: 8.375 kB / 0.9828 GB, free: 0.6211 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.746e-05/0.003151, allocations: 4.375 kB / 0.9828 GB, free: 0.6172 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.851e-05/0.00325, allocations: 59.95 kB / 0.9829 GB, free: 0.5469 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.154e-06/0.003257, allocations: 4.172 kB / 0.9829 GB, free: 0.543 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.195e-06/0.003265, allocations: 384 / 0.9829 GB, free: 0.543 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.362e-06/0.003272, allocations: 12 kB / 0.9829 GB, free: 0.5312 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.885e-05/0.00329, allocations: 4 kB / 0.9829 GB, free: 0.5273 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001144/0.003405, allocations: 124.8 kB / 0.983 GB, free: 372 kB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 4.382e-05/0.003449, allocations: 18.61 kB / 0.983 GB, free: 344 kB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.509e-05/0.003464, allocations: 12.92 kB / 0.9831 GB, free: 328 kB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003443/0.003808, allocations: 75.91 kB / 0.9831 GB, free: 252 kB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.94e-05/0.003827, allocations: 30.56 kB / 0.9832 GB, free: 212 kB / 0.9323 GB Notification: Performance of pre-optimization done (n=2): time 9.72e-07/0.003828, allocations: 4 kB / 0.9832 GB, free: 208 kB / 0.9323 GB Notification: Performance of matching and sorting (n=3): time 0.0004661/0.004295, allocations: 181.4 kB / 0.9833 GB, free: 15.99 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.591e-05/0.00432, allocations: 55.34 kB / 0.9834 GB, free: 15.92 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.533e-05/0.004366, allocations: 93.86 kB / 0.9835 GB, free: 15.82 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.097e-05/0.004377, allocations: 29.64 kB / 0.9835 GB, free: 15.79 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 2.254e-05/0.004399, allocations: 80.14 kB / 0.9836 GB, free: 15.71 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 2.256e-05/0.004422, allocations: 15.84 kB / 0.9836 GB, free: 15.69 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.579e-05/0.004448, allocations: 21.7 kB / 0.9836 GB, free: 15.66 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.033e-05/0.004518, allocations: 310.8 kB / 0.9839 GB, free: 15.35 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.463e-05/0.004533, allocations: 7.938 kB / 0.9839 GB, free: 15.34 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.234e-05/0.004555, allocations: 21.86 kB / 0.9839 GB, free: 15.32 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.632e-05/0.004591, allocations: 29.72 kB / 0.984 GB, free: 15.28 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.004592, allocations: 0 / 0.984 GB, free: 15.28 MB / 0.948 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.355e-05/0.004666, allocations: 53.62 kB / 0.984 GB, free: 15.22 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.27e-05/0.004679, allocations: 4 kB / 0.984 GB, free: 15.22 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.004683, allocations: 0 / 0.984 GB, free: 15.22 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.243e-05/0.004696, allocations: 7.938 kB / 0.984 GB, free: 15.21 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.353e-05/0.004739, allocations: 4 kB / 0.984 GB, free: 15.21 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.308e-06/0.004744, allocations: 0 / 0.984 GB, free: 15.21 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.061e-05/0.004754, allocations: 4.062 kB / 0.984 GB, free: 15.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.682e-06/0.004761, allocations: 8 kB / 0.984 GB, free: 15.2 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (4): * Single equations (assignments): 4 * 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 4.998e-05/0.004811, allocations: 109.8 kB / 0.9842 GB, free: 15.08 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.277e-05/0.004824, allocations: 4 kB / 0.9842 GB, free: 15.07 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.423e-05/0.004918, allocations: 53.36 kB / 0.9842 GB, free: 15.02 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.00492, allocations: 3.938 kB / 0.9842 GB, free: 15.01 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/0.004924, allocations: 0 / 0.9842 GB, free: 15.01 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.004927, allocations: 0 / 0.9842 GB, free: 15.01 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.736e-05/0.004994, allocations: 124.8 kB / 0.9843 GB, free: 14.85 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.517e-06/0.004998, allocations: 8 kB / 0.9843 GB, free: 14.84 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.503e-05/0.005033, allocations: 8 kB / 0.9843 GB, free: 14.83 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.005034, allocations: 3.938 kB / 0.9843 GB, free: 14.83 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.37e-06/0.005039, allocations: 0 / 0.9843 GB, free: 14.83 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.485e-06/0.005042, allocations: 3.938 kB / 0.9844 GB, free: 14.82 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.005043, allocations: 0 / 0.9844 GB, free: 14.82 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001079/0.005151, allocations: 85.02 kB / 0.9844 GB, free: 14.72 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 6.212e-06/0.005157, allocations: 4.219 kB / 0.9844 GB, free: 14.72 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.557e-06/0.005167, allocations: 0 / 0.9844 GB, free: 14.72 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.207e-05/0.005189, allocations: 7.969 kB / 0.9844 GB, free: 14.71 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.383e-05/0.005202, allocations: 8.047 kB / 0.9845 GB, free: 14.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.759e-06/0.005207, allocations: 4 kB / 0.9845 GB, free: 14.7 MB / 0.948 GB Notification: Performance of sorting global known variables: time 2.367e-05/0.005231, allocations: 79.28 kB / 0.9845 GB, free: 14.62 MB / 0.948 GB Notification: Performance of sort global known variables: time 5.1e-08/0.005231, allocations: 0 / 0.9845 GB, free: 14.62 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001509/0.005382, allocations: 27.92 kB / 0.9846 GB, free: 14.59 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y) * 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 (3): * Single equations (assignments): 3 * 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.0003919/0.005774, allocations: 0.6441 MB / 0.9852 GB, free: 13.92 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 6.817e-05/0.005842, allocations: 15.98 kB / 0.9852 GB, free: 13.91 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.452e-06/0.005843, allocations: 0 / 0.9852 GB, free: 13.91 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 1.236e-05/0.005856, allocations: 12.22 kB / 0.9852 GB, free: 13.89 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001086/0.005964, allocations: 10.91 kB / 0.9852 GB, free: 13.89 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006464/0.006611, allocations: 1.127 MB / 0.9863 GB, free: 12.67 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.406e-05/0.006645, allocations: 63.2 kB / 0.9864 GB, free: 12.59 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 2.173e-05/0.006666, allocations: 7.984 kB / 0.9864 GB, free: 12.58 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.827e-05/0.006695, allocations: 12.5 kB / 0.9864 GB, free: 12.57 MB / 0.948 GB Notification: Performance of SimCode: time 8.42e-07/0.006696, allocations: 0 / 0.9864 GB, free: 12.57 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01515/0.02184, allocations: 2.387 MB / 0.9887 GB, free: 10.32 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.744/6.766, allocations: 3.281 kB / 0.9887 GB, free: 10.32 MB / 0.948 GB " [Timeout remaining time 293] (rm -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck_res.csv --start-time -1 --stop-time 1 --timeout 400 --relative-tolerance 1e-08 --interface-type ModelExchange --solver CVode --output-interval 0.0008 Buildings_12_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck.fmu > Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable x in file Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck_res.csv. Warning: Get data of variable x from file Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck_res.csv failed! Error: Could not read variable der(x) in file Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck_res.csv. Warning: Get data of variable der(x) from file Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck_res.csv failed! Error: Could not read variable der(y) in file Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck_res.csv. Warning: Get data of variable der(y) from file Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.956553577445447]