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.001456/0.001456, allocations: 99.64 kB / 18.94 MB, free: 2.551 MB / 14.72 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.001533/0.001533, allocations: 213.9 kB / 22.24 MB, free: 4.855 MB / 14.72 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 1.486/1.486, allocations: 230.6 MB / 256 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.262/3.262, allocations: 0.4893 GB / 0.7944 GB, free: 35.55 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002041/0.002041, allocations: 67.31 kB / 1.153 GB, free: 25.76 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4152/0.4172, allocations: 176.1 MB / 1.325 GB, free: 2.281 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck): time 0.0032/0.4204, allocations: 0.6118 MB / 1.326 GB, free: 1.676 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001089/0.4215, allocations: 307.4 kB / 1.326 GB, free: 1.375 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.177e-05/0.4216, allocations: 0 / 1.326 GB, free: 1.375 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 2.172e-05/0.4216, allocations: 0 / 1.326 GB, free: 1.375 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 4.932e-05/0.4216, allocations: 3.938 kB / 1.326 GB, free: 1.371 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.000778/0.4224, allocations: 115.7 kB / 1.326 GB, free: 1.258 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 6.227e-05/0.4225, allocations: 4 kB / 1.326 GB, free: 1.254 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 5.647e-05/0.4225, allocations: 3.984 kB / 1.326 GB, free: 1.25 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 2.643e-05/0.4225, allocations: 4 kB / 1.326 GB, free: 1.246 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 7.855e-05/0.4226, allocations: 7.938 kB / 1.326 GB, free: 1.238 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.754e-05/0.4226, allocations: 0 / 1.326 GB, free: 1.238 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004996/0.4231, allocations: 259.7 kB / 1.326 GB, free: 0.9844 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 2.259e-05/0.4232, allocations: 7.969 kB / 1.326 GB, free: 0.9766 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 2.341e-05/0.4232, allocations: 4 kB / 1.326 GB, free: 0.9727 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0002524/0.4234, allocations: 99.95 kB / 1.326 GB, free: 0.875 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.139e-06/0.4234, allocations: 0 / 1.326 GB, free: 0.875 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.384e-06/0.4234, allocations: 0 / 1.326 GB, free: 0.875 MB / 1.014 GB Notification: Performance of Transformations before backend: time 7.915e-06/0.4235, allocations: 0 / 1.326 GB, free: 0.875 MB / 1.014 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.0005029/0.424, allocations: 266.2 kB / 1.327 GB, free: 0.582 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.484e-05/0.424, allocations: 12.03 kB / 1.327 GB, free: 0.5703 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.193e-05/0.4241, allocations: 30.75 kB / 1.327 GB, free: 0.5312 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.155e-05/0.4242, allocations: 8.875 kB / 1.327 GB, free: 0.5234 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001755/0.4243, allocations: 110.5 kB / 1.327 GB, free: 400 kB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.581e-05/0.4243, allocations: 384 / 1.327 GB, free: 400 kB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.503e-05/0.4244, allocations: 4.375 kB / 1.327 GB, free: 396 kB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001582/0.4245, allocations: 59.97 kB / 1.327 GB, free: 324 kB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.357e-05/0.4245, allocations: 7.938 kB / 1.327 GB, free: 316 kB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.483e-05/0.4246, allocations: 7.969 kB / 1.327 GB, free: 308 kB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.684e-06/0.4246, allocations: 4 kB / 1.327 GB, free: 304 kB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.435e-05/0.4246, allocations: 0 / 1.327 GB, free: 304 kB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002224/0.4248, allocations: 128.6 kB / 1.327 GB, free: 132 kB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 7.978e-05/0.4249, allocations: 18.61 kB / 1.327 GB, free: 104 kB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.083e-05/0.4249, allocations: 12.91 kB / 1.327 GB, free: 88 kB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000666/0.4256, allocations: 79.91 kB / 1.327 GB, free: 8 kB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.559e-05/0.4257, allocations: 34.56 kB / 1.327 GB, free: 15.96 MB / 1.029 GB Notification: Performance of pre-optimization done (n=2): time 1.222e-06/0.4257, allocations: 0 / 1.327 GB, free: 15.96 MB / 1.029 GB Notification: Performance of matching and sorting (n=3): time 0.0007966/0.4265, allocations: 185.2 kB / 1.327 GB, free: 15.75 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.341e-05/0.4265, allocations: 55.41 kB / 1.327 GB, free: 15.68 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001115/0.4266, allocations: 93.84 kB / 1.328 GB, free: 15.58 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.531e-05/0.4267, allocations: 25.7 kB / 1.328 GB, free: 15.55 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 6.919e-05/0.4267, allocations: 88.14 kB / 1.328 GB, free: 15.46 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.404e-05/0.4268, allocations: 3.953 kB / 1.328 GB, free: 15.46 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.407e-05/0.4268, allocations: 17.72 kB / 1.328 GB, free: 15.43 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001907/0.427, allocations: 318.8 kB / 1.328 GB, free: 15.11 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.685e-05/0.427, allocations: 7.938 kB / 1.328 GB, free: 15.11 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.723e-05/0.4271, allocations: 17.97 kB / 1.328 GB, free: 15.08 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.982e-05/0.4271, allocations: 29.72 kB / 1.328 GB, free: 15.05 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-06/0.4271, allocations: 0 / 1.328 GB, free: 15.05 MB / 1.029 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001495/0.4273, allocations: 57.58 kB / 1.328 GB, free: 14.98 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.939e-05/0.4273, allocations: 9.969 kB / 1.328 GB, free: 14.98 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.095e-05/0.4273, allocations: 4 kB / 1.328 GB, free: 14.97 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.32e-05/0.4274, allocations: 0 / 1.328 GB, free: 14.97 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.404e-05/0.4274, allocations: 7.984 kB / 1.328 GB, free: 14.96 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.785e-06/0.4274, allocations: 0 / 1.328 GB, free: 14.96 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.128e-05/0.4275, allocations: 8.062 kB / 1.328 GB, free: 14.96 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.007e-06/0.4275, allocations: 3.984 kB / 1.328 GB, free: 14.95 MB / 1.029 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 0.0001041/0.4276, allocations: 113.8 kB / 1.328 GB, free: 14.83 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.194e-05/0.4276, allocations: 3.938 kB / 1.328 GB, free: 14.83 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001718/0.4278, allocations: 53.31 kB / 1.328 GB, free: 14.76 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.534e-06/0.4278, allocations: 0 / 1.328 GB, free: 14.76 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.184e-06/0.4278, allocations: 0 / 1.328 GB, free: 14.76 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.174e-05/0.4278, allocations: 7.984 kB / 1.328 GB, free: 14.75 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001454/0.428, allocations: 124.8 kB / 1.328 GB, free: 14.59 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.428, allocations: 0 / 1.328 GB, free: 14.59 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.252e-05/0.428, allocations: 4 kB / 1.328 GB, free: 14.59 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.628e-06/0.428, allocations: 3.938 kB / 1.328 GB, free: 14.58 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.03e-05/0.428, allocations: 3.984 kB / 1.328 GB, free: 14.58 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.863e-06/0.428, allocations: 3.938 kB / 1.328 GB, free: 14.57 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.428, allocations: 0 / 1.328 GB, free: 14.57 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001934/0.4282, allocations: 81.06 kB / 1.329 GB, free: 14.48 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.266e-05/0.4282, allocations: 4.172 kB / 1.329 GB, free: 14.47 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.628e-05/0.4283, allocations: 4.031 kB / 1.329 GB, free: 14.47 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.926e-05/0.4283, allocations: 7.938 kB / 1.329 GB, free: 14.46 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.847e-05/0.4283, allocations: 12.03 kB / 1.329 GB, free: 14.45 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.332e-06/0.4283, allocations: 4 kB / 1.329 GB, free: 14.45 MB / 1.029 GB Notification: Performance of sorting global known variables: time 4.793e-05/0.4284, allocations: 79.28 kB / 1.329 GB, free: 14.37 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.4284, allocations: 0 / 1.329 GB, free: 14.37 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.000233/0.4286, allocations: 23.94 kB / 1.329 GB, free: 14.34 MB / 1.029 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.0007339/0.4293, allocations: 0.6435 MB / 1.329 GB, free: 13.67 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001114/0.4295, allocations: 15.98 kB / 1.329 GB, free: 13.65 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 5.841e-06/0.4295, allocations: 4 kB / 1.329 GB, free: 13.65 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.582e-05/0.4295, allocations: 8.281 kB / 1.329 GB, free: 13.64 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001639/0.4296, allocations: 4 kB / 1.329 GB, free: 13.64 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001274/0.4309, allocations: 1.143 MB / 1.33 GB, free: 12.41 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.847e-05/0.431, allocations: 59.3 kB / 1.33 GB, free: 12.33 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 3.39e-05/0.431, allocations: 4 kB / 1.33 GB, free: 12.32 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.638e-05/0.4311, allocations: 19.42 kB / 1.33 GB, free: 12.3 MB / 1.029 GB Notification: Performance of SimCode: time 6.22e-07/0.4311, allocations: 64 / 1.33 GB, free: 12.3 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03342/0.4645, allocations: 2.233 MB / 1.333 GB, free: 10.2 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.36/11.82, allocations: 5.75 kB / 1.333 GB, free: 10.2 MB / 1.029 GB " [Timeout remaining time 288] (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/jenkins1/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: 18.86518226796761]