Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Math.Examples.RegNonZeroPower.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.0008285/0.0008285, 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.0009641/0.0009641, allocations: 169.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.9334/0.9334, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.701/1.701, allocations: 359 MB / 0.6037 GB, free: 11.1 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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.Examples.RegNonZeroPower,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Examples_RegNonZeroPower",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.RegNonZeroPower,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Examples_RegNonZeroPower",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.933e-06/1.933e-06, allocations: 0 / 0.9505 GB, free: 3.477 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.445e-05/2.638e-05, allocations: 9.234 kB / 0.9505 GB, free: 3.469 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.RegNonZeroPower): time 0.001982/0.002009, allocations: 1.448 MB / 0.9519 GB, free: 2.004 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0006857/0.002694, allocations: 354.8 kB / 0.9523 GB, free: 1.656 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.788e-05/0.002732, allocations: 0 / 0.9523 GB, free: 1.656 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 2.919e-05/0.002761, allocations: 4 kB / 0.9523 GB, free: 1.652 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 4.361e-05/0.002805, allocations: 7.938 kB / 0.9523 GB, free: 1.645 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004108/0.003216, allocations: 120.4 kB / 0.9524 GB, free: 1.527 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 6.933e-05/0.003285, allocations: 19.92 kB / 0.9524 GB, free: 1.508 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001086/0.003394, allocations: 8 kB / 0.9524 GB, free: 1.5 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 5.373e-05/0.003448, allocations: 11.98 kB / 0.9524 GB, free: 1.488 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 3.379e-05/0.003481, allocations: 4 kB / 0.9524 GB, free: 1.484 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.684e-05/0.003498, allocations: 4 kB / 0.9524 GB, free: 1.48 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002731/0.003771, allocations: 271.6 kB / 0.9527 GB, free: 1.215 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 1.534e-05/0.003787, allocations: 7.938 kB / 0.9527 GB, free: 1.207 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 1.683e-05/0.003803, allocations: 0 / 0.9527 GB, free: 1.207 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0001966/0.004, allocations: 135.6 kB / 0.9528 GB, free: 1.074 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 2.815e-06/0.004003, allocations: 3.938 kB / 0.9528 GB, free: 1.07 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.012e-06/0.004004, allocations: 0 / 0.9528 GB, free: 1.07 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 4.889e-06/0.004009, allocations: 4 kB / 0.9528 GB, free: 1.066 MB / 0.9011 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.0003736/0.004382, allocations: 294 kB / 0.9531 GB, free: 0.7461 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.062e-05/0.004423, allocations: 8.031 kB / 0.9531 GB, free: 0.7383 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.994e-05/0.004453, allocations: 38.69 kB / 0.9532 GB, free: 0.6914 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.587e-05/0.004499, allocations: 4.938 kB / 0.9532 GB, free: 0.6875 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.741e-05/0.004576, allocations: 109.7 kB / 0.9533 GB, free: 0.5547 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.087e-05/0.004587, allocations: 4.375 kB / 0.9533 GB, free: 0.5508 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.536e-06/0.004596, allocations: 4.359 kB / 0.9533 GB, free: 0.5469 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000128/0.004724, allocations: 50.23 kB / 0.9533 GB, free: 0.4922 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.013e-06/0.004731, allocations: 192 / 0.9533 GB, free: 0.4922 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.484e-06/0.004738, allocations: 384 / 0.9533 GB, free: 0.4922 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.94e-06/0.004743, allocations: 4.125 kB / 0.9533 GB, free: 500 kB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.338e-05/0.004836, allocations: 39.95 kB / 0.9534 GB, free: 460 kB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002696/0.005106, allocations: 228 kB / 0.9536 GB, free: 188 kB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 8.046e-05/0.005187, allocations: 39.11 kB / 0.9536 GB, free: 140 kB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.324e-05/0.00523, allocations: 16.91 kB / 0.9536 GB, free: 120 kB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003124/0.005542, allocations: 83.91 kB / 0.9537 GB, free: 36 kB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.098e-05/0.005573, allocations: 34.5 kB / 0.9538 GB, free: 15.99 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/0.005574, allocations: 0 / 0.9538 GB, free: 15.99 MB / 0.9167 GB Notification: Performance of matching and sorting (n=2): time 0.0002331/0.005807, allocations: 81.64 kB / 0.9538 GB, free: 15.91 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.765e-05/0.005835, allocations: 63.47 kB / 0.9539 GB, free: 15.83 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.59e-05/0.005891, allocations: 101.8 kB / 0.954 GB, free: 15.72 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 9.898e-06/0.005901, allocations: 29.7 kB / 0.954 GB, free: 15.69 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 3.645e-05/0.005937, allocations: 84.14 kB / 0.9541 GB, free: 15.6 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 1.638e-05/0.005954, allocations: 3.953 kB / 0.9541 GB, free: 15.6 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.411e-05/0.005978, allocations: 13.72 kB / 0.9541 GB, free: 15.58 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 8.58e-05/0.006063, allocations: 314.8 kB / 0.9544 GB, free: 15.26 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.335e-05/0.006107, allocations: 19.97 kB / 0.9544 GB, free: 15.24 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.541e-05/0.006142, allocations: 15.98 kB / 0.9544 GB, free: 15.23 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.789e-05/0.00622, allocations: 44.83 kB / 0.9545 GB, free: 15.18 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.006223, allocations: 0 / 0.9545 GB, free: 15.18 MB / 0.9167 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001165/0.006339, allocations: 77.48 kB / 0.9546 GB, free: 15.1 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.22e-05/0.006351, allocations: 4 kB / 0.9546 GB, free: 15.09 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.006357, allocations: 0 / 0.9546 GB, free: 15.09 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.32e-05/0.00637, allocations: 4 kB / 0.9546 GB, free: 15.09 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.808e-05/0.006428, allocations: 12.02 kB / 0.9546 GB, free: 15.08 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.659e-06/0.006432, allocations: 0 / 0.9546 GB, free: 15.08 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.354e-05/0.006456, allocations: 11.98 kB / 0.9546 GB, free: 15.07 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.939e-06/0.006461, allocations: 0 / 0.9546 GB, free: 15.07 MB / 0.9167 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 (2): * Single equations (assignments): 2 * 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 5.486e-05/0.006516, allocations: 109.8 kB / 0.9547 GB, free: 14.95 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.092e-05/0.006537, allocations: 3.938 kB / 0.9547 GB, free: 14.95 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001431/0.00668, allocations: 73.28 kB / 0.9548 GB, free: 14.86 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.006682, allocations: 4.031 kB / 0.9548 GB, free: 14.86 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.006686, allocations: 0 / 0.9548 GB, free: 14.86 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.006689, allocations: 4 kB / 0.9548 GB, free: 14.86 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001046/0.006794, allocations: 128.7 kB / 0.9549 GB, free: 14.69 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.71e-07/0.006795, allocations: 0 / 0.9549 GB, free: 14.69 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.555e-05/0.00682, allocations: 15.92 kB / 0.9549 GB, free: 14.67 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.006823, allocations: 3.938 kB / 0.9549 GB, free: 14.67 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.961e-06/0.006829, allocations: 0 / 0.9549 GB, free: 14.67 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/0.00683, allocations: 0 / 0.9549 GB, free: 14.67 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.006831, allocations: 0 / 0.9549 GB, free: 14.67 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001432/0.006974, allocations: 167.5 kB / 0.9551 GB, free: 14.49 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 7.183e-06/0.006981, allocations: 7.891 kB / 0.9551 GB, free: 14.48 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.037e-06/0.00699, allocations: 256 / 0.9551 GB, free: 14.48 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.811e-05/0.007028, allocations: 11.98 kB / 0.9551 GB, free: 14.47 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.072e-05/0.007059, allocations: 0 / 0.9551 GB, free: 14.47 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.647e-06/0.007063, allocations: 4 kB / 0.9551 GB, free: 14.46 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 2.952e-05/0.007092, allocations: 87.27 kB / 0.9552 GB, free: 14.38 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.007092, allocations: 0 / 0.9552 GB, free: 14.38 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001597/0.007252, allocations: 15.94 kB / 0.9552 GB, free: 14.36 MB / 0.9167 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 (2): * Single equations (assignments): 2 * 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.0003809/0.007633, allocations: 0.7091 MB / 0.9559 GB, free: 13.63 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001235/0.007757, allocations: 39.95 kB / 0.9559 GB, free: 13.59 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/0.007758, allocations: 0 / 0.9559 GB, free: 13.59 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 4.15e-05/0.007799, allocations: 27.95 kB / 0.956 GB, free: 13.56 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002275/0.008027, allocations: 10.41 kB / 0.956 GB, free: 13.55 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003167/0.008344, allocations: 146.4 kB / 0.9561 GB, free: 13.37 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.234e-05/0.008386, allocations: 71.33 kB / 0.9562 GB, free: 13.28 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 1.896e-05/0.008405, allocations: 3.984 kB / 0.9562 GB, free: 13.28 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.83e-05/0.008433, allocations: 16.48 kB / 0.9562 GB, free: 13.26 MB / 0.9167 GB Notification: Performance of SimCode: time 3.61e-07/0.008434, allocations: 0 / 0.9562 GB, free: 13.26 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01608/0.02451, allocations: 2.274 MB / 0.9584 GB, free: 11.12 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.015/7.04, allocations: 1.719 kB / 0.9584 GB, free: 11.12 MB / 0.9167 GB " [Timeout remaining time 293] (rm -f Buildings_11_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Examples.RegNonZeroPower.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Utilities.Math.Examples.RegNonZeroPower_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_11_Buildings_Utilities_Math_Examples_RegNonZeroPower.fmu > Buildings_11_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Examples.RegNonZeroPower_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Examples_RegNonZeroPower.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Examples.RegNonZeroPower.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: 11.152980017475784]