Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.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.001394/0.001394, 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.001431/0.001431, 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.298/1.298, allocations: 225.6 MB / 249.3 MB, free: 3.312 MB / 190.1 MB " [Timeout remaining time 179] 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.478/2.478, allocations: 476.7 MB / 0.7628 GB, free: 15.23 MB / 0.6075 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.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001966/0.001966, allocations: 71.89 kB / 1.107 GB, free: 5.078 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7499/0.7519, allocations: 168.7 MB / 1.271 GB, free: 7.699 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck): time 0.001443/0.7533, allocations: 0.6146 MB / 1.272 GB, free: 7.332 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0005649/0.7539, allocations: 356.7 kB / 1.272 GB, free: 7.102 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.181e-05/0.7539, allocations: 4 kB / 1.272 GB, free: 7.098 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 1.042e-05/0.7539, allocations: 0 / 1.272 GB, free: 7.098 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 1.907e-05/0.7539, allocations: 0.6562 kB / 1.272 GB, free: 7.098 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004136/0.7544, allocations: 112.7 kB / 1.272 GB, free: 7.059 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 4.312e-05/0.7544, allocations: 6.75 kB / 1.272 GB, free: 7.059 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.717e-05/0.7544, allocations: 1.844 kB / 1.272 GB, free: 7.059 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.55e-05/0.7545, allocations: 7.609 kB / 1.272 GB, free: 7.055 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.447e-05/0.7545, allocations: 10.64 kB / 1.273 GB, free: 7.047 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.054e-05/0.7545, allocations: 5.016 kB / 1.273 GB, free: 7.043 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003844/0.7549, allocations: 273 kB / 1.273 GB, free: 6.977 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 9.809e-06/0.7549, allocations: 1.562 kB / 1.273 GB, free: 6.977 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 1.656e-05/0.7549, allocations: 2.734 kB / 1.273 GB, free: 6.977 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001587/0.7551, allocations: 93.42 kB / 1.273 GB, free: 6.949 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 2.996e-06/0.7551, allocations: 0 / 1.273 GB, free: 6.949 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.803e-06/0.7551, allocations: 0.875 kB / 1.273 GB, free: 6.949 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.619e-06/0.7551, allocations: 3.938 kB / 1.273 GB, free: 6.945 MB / 0.9981 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.0002549/0.7553, allocations: 343.3 kB / 1.273 GB, free: 6.574 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.358e-05/0.7554, allocations: 13.88 kB / 1.273 GB, free: 6.57 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.01e-05/0.7554, allocations: 31.55 kB / 1.273 GB, free: 6.531 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.043e-05/0.7554, allocations: 2.5 kB / 1.273 GB, free: 6.531 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.883e-05/0.7555, allocations: 172.6 kB / 1.273 GB, free: 6.328 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.508e-06/0.7555, allocations: 5.125 kB / 1.273 GB, free: 6.324 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.797e-05/0.7555, allocations: 1.969 kB / 1.273 GB, free: 6.324 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.271e-05/0.7556, allocations: 31.25 kB / 1.273 GB, free: 6.293 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.163e-06/0.7556, allocations: 4.656 kB / 1.273 GB, free: 6.289 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.173e-06/0.7556, allocations: 0 / 1.273 GB, free: 6.289 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.447e-06/0.7556, allocations: 4.75 kB / 1.273 GB, free: 6.285 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.802e-05/0.7556, allocations: 5.172 kB / 1.273 GB, free: 6.285 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.35e-05/0.7557, allocations: 154.2 kB / 1.274 GB, free: 6.09 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 4.16e-05/0.7558, allocations: 25.67 kB / 1.274 GB, free: 6.062 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.412e-05/0.7558, allocations: 10.3 kB / 1.274 GB, free: 6.051 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005407/0.7563, allocations: 457.8 kB / 1.274 GB, free: 5.578 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.562e-05/0.7563, allocations: 34.14 kB / 1.274 GB, free: 5.539 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=2): time 1.001e-06/0.7563, allocations: 0 / 1.274 GB, free: 5.539 MB / 0.9981 GB Notification: Performance of matching and sorting (n=3): time 0.0003832/0.7567, allocations: 260.9 kB / 1.274 GB, free: 5.27 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.505e-05/0.7567, allocations: 51.41 kB / 1.274 GB, free: 5.207 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.536e-05/0.7568, allocations: 92.8 kB / 1.274 GB, free: 5.109 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 6.772e-06/0.7568, allocations: 26.58 kB / 1.275 GB, free: 5.078 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 1.227e-05/0.7568, allocations: 84.14 kB / 1.275 GB, free: 4.992 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.821e-05/0.7568, allocations: 19.31 kB / 1.275 GB, free: 4.977 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.547e-05/0.7568, allocations: 21.38 kB / 1.275 GB, free: 4.957 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.306e-05/0.7569, allocations: 316.1 kB / 1.275 GB, free: 4.641 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.611e-05/0.7569, allocations: 2.969 kB / 1.275 GB, free: 4.641 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.198e-05/0.7569, allocations: 21.62 kB / 1.275 GB, free: 4.621 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.9e-05/0.7569, allocations: 27.16 kB / 1.275 GB, free: 4.598 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.402e-06/0.7569, allocations: 0.9062 kB / 1.275 GB, free: 4.598 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.979e-05/0.757, allocations: 54.97 kB / 1.275 GB, free: 4.555 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.175e-05/0.757, allocations: 8.688 kB / 1.275 GB, free: 4.551 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.857e-06/0.757, allocations: 0.8438 kB / 1.275 GB, free: 4.551 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.182e-05/0.7571, allocations: 0.6875 kB / 1.275 GB, free: 4.551 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.162e-05/0.7571, allocations: 8.297 kB / 1.275 GB, free: 4.551 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.649e-06/0.7571, allocations: 1.094 kB / 1.275 GB, free: 4.551 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.725e-05/0.7571, allocations: 4 kB / 1.275 GB, free: 4.547 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.901e-06/0.7571, allocations: 1.781 kB / 1.275 GB, free: 4.547 MB / 0.9981 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 3.632e-05/0.7572, allocations: 114 kB / 1.275 GB, free: 4.43 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.144e-05/0.7572, allocations: 8.844 kB / 1.275 GB, free: 4.422 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001112/0.7573, allocations: 60.05 kB / 1.275 GB, free: 4.371 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-06/0.7573, allocations: 0.8438 kB / 1.275 GB, free: 4.371 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/0.7573, allocations: 0 / 1.275 GB, free: 4.371 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.7573, allocations: 0.8125 kB / 1.275 GB, free: 4.371 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.415e-05/0.7574, allocations: 154.4 kB / 1.275 GB, free: 4.18 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.01e-07/0.7574, allocations: 0 / 1.275 GB, free: 4.18 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.538e-05/0.7574, allocations: 4.938 kB / 1.275 GB, free: 4.18 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.7574, allocations: 4.781 kB / 1.275 GB, free: 4.176 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.731e-06/0.7574, allocations: 4.844 kB / 1.275 GB, free: 4.172 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.42e-07/0.7574, allocations: 0.875 kB / 1.275 GB, free: 4.172 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.7574, allocations: 0 / 1.275 GB, free: 4.172 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001106/0.7575, allocations: 80.73 kB / 1.275 GB, free: 4.098 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.448e-05/0.7575, allocations: 82.94 kB / 1.276 GB, free: 4 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.062e-05/0.7576, allocations: 1.062 kB / 1.276 GB, free: 4 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.479e-05/0.7576, allocations: 1.031 kB / 1.276 GB, free: 4 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.757e-05/0.7576, allocations: 12.41 kB / 1.276 GB, free: 3.992 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.23e-06/0.7576, allocations: 2 kB / 1.276 GB, free: 3.992 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 1.669e-05/0.7576, allocations: 80.34 kB / 1.276 GB, free: 3.914 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8e-08/0.7576, allocations: 0 / 1.276 GB, free: 3.914 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0001925/0.7578, allocations: 27.44 kB / 1.276 GB, free: 3.906 MB / 0.9981 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.0003119/0.7581, allocations: 0.6438 MB / 1.276 GB, free: 3.293 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 7.998e-05/0.7582, allocations: 19.95 kB / 1.276 GB, free: 3.285 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.7582, allocations: 0 / 1.276 GB, free: 3.285 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 1.493e-05/0.7582, allocations: 9.516 kB / 1.276 GB, free: 3.285 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001252/0.7584, allocations: 2.781 kB / 1.276 GB, free: 3.285 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007585/0.7591, allocations: 1.139 MB / 1.277 GB, free: 18.15 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002556/0.7594, allocations: 0.6756 MB / 1.278 GB, free: 17.45 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 2.445e-05/0.7594, allocations: 12.16 kB / 1.278 GB, free: 17.45 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.401e-05/0.7594, allocations: 13.12 kB / 1.278 GB, free: 17.43 MB / 1.014 GB Notification: Performance of SimCode: time 2.81e-07/0.7594, allocations: 0.6875 kB / 1.278 GB, free: 17.43 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02409/0.7835, allocations: 1.707 MB / 1.28 GB, free: 17.06 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.999/7.782, allocations: 16.64 kB / 1.28 GB, free: 17.05 MB / 1.014 GB " [Timeout remaining time 292] (rm -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.sim & python3 -m fmpy simulate --output-file Buildings_11_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_11_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck.fmu > Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck_res.csv. Warning: Get data of variable x from file Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck_res.csv failed! Error: Could not read variable der(x) in file Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck_res.csv. Warning: Get data of variable der(x) from file Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck_res.csv failed! Error: Could not read variable der(y) in file Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck_res.csv. Warning: Get data of variable der(y) from file Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 13.111736970000493]