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.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.001256/0.001256, allocations: 108.8 kB / 16.45 MB, free: 6.035 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.001373/0.001373, allocations: 192.5 kB / 19.41 MB, free: 3.539 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.448/1.448, allocations: 225.6 MB / 247.8 MB, free: 13.92 MB / 206.1 MB " [Timeout remaining time 178] 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.771/2.771, allocations: 476.7 MB / 0.7611 GB, free: 11.31 MB / 0.6231 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.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 0.003199/0.003199, allocations: 63.91 kB / 1.104 GB, free: 9.27 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9465/0.9497, allocations: 168.7 MB / 1.269 GB, free: 5.191 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.RegNonZeroPower): time 0.004435/0.9542, allocations: 1.459 MB / 1.27 GB, free: 3.727 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0009393/0.9551, allocations: 382.7 kB / 1.271 GB, free: 3.352 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.546e-05/0.9551, allocations: 0 / 1.271 GB, free: 3.352 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.237e-05/0.9552, allocations: 7.938 kB / 1.271 GB, free: 3.344 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 6.148e-05/0.9552, allocations: 3.938 kB / 1.271 GB, free: 3.34 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005986/0.9558, allocations: 115.6 kB / 1.271 GB, free: 3.227 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 8.944e-05/0.9559, allocations: 31.91 kB / 1.271 GB, free: 3.195 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001016/0.956, allocations: 1.828 kB / 1.271 GB, free: 3.195 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 5.595e-05/0.9561, allocations: 15.92 kB / 1.271 GB, free: 3.18 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 4.624e-05/0.9561, allocations: 11.94 kB / 1.271 GB, free: 3.168 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.53e-05/0.9561, allocations: 8 kB / 1.271 GB, free: 3.16 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004629/0.9566, allocations: 275.6 kB / 1.271 GB, free: 2.891 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.742e-05/0.9566, allocations: 4 kB / 1.271 GB, free: 2.887 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 4.043e-05/0.9567, allocations: 15.92 kB / 1.271 GB, free: 2.871 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002571/0.9569, allocations: 107.6 kB / 1.271 GB, free: 2.766 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.9569, allocations: 0 / 1.271 GB, free: 2.766 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.684e-06/0.9569, allocations: 0 / 1.271 GB, free: 2.766 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.682e-06/0.9569, allocations: 0 / 1.271 GB, free: 2.766 MB / 0.9669 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.0006486/0.9576, allocations: 367.1 kB / 1.271 GB, free: 2.355 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.612e-05/0.9576, allocations: 12.03 kB / 1.271 GB, free: 2.344 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.147e-05/0.9577, allocations: 34.75 kB / 1.271 GB, free: 2.301 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.322e-05/0.9577, allocations: 0.9375 kB / 1.271 GB, free: 2.301 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001847/0.9579, allocations: 176.3 kB / 1.272 GB, free: 2.09 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.421e-05/0.9579, allocations: 8.312 kB / 1.272 GB, free: 2.082 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.608e-06/0.9579, allocations: 4.312 kB / 1.272 GB, free: 2.078 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001943/0.9581, allocations: 46.25 kB / 1.272 GB, free: 2.027 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.299e-05/0.9582, allocations: 7.922 kB / 1.272 GB, free: 2.02 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.598e-06/0.9582, allocations: 0 / 1.272 GB, free: 2.02 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.9582, allocations: 4 kB / 1.272 GB, free: 2.016 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001643/0.9583, allocations: 31.97 kB / 1.272 GB, free: 1.984 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000396/0.9587, allocations: 245 kB / 1.272 GB, free: 1.695 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001379/0.9589, allocations: 42.5 kB / 1.272 GB, free: 1.645 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001017/0.959, allocations: 28.84 kB / 1.272 GB, free: 1.613 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007836/0.9598, allocations: 457.5 kB / 1.273 GB, free: 1.074 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.572e-05/0.9598, allocations: 42.5 kB / 1.273 GB, free: 1.023 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 1.493e-06/0.9598, allocations: 0 / 1.273 GB, free: 1.023 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2): time 0.0004007/0.9602, allocations: 77.64 kB / 1.273 GB, free: 0.9414 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.645e-05/0.9602, allocations: 59.34 kB / 1.273 GB, free: 0.8711 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.719e-05/0.9603, allocations: 109.8 kB / 1.273 GB, free: 0.7539 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.562e-05/0.9604, allocations: 25.7 kB / 1.273 GB, free: 0.7227 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.505e-05/0.9604, allocations: 88.27 kB / 1.273 GB, free: 0.6328 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.975e-05/0.9604, allocations: 3.953 kB / 1.273 GB, free: 0.6289 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.352e-05/0.9605, allocations: 13.72 kB / 1.273 GB, free: 0.6094 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.000159/0.9606, allocations: 318.8 kB / 1.273 GB, free: 296 kB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.056e-05/0.9607, allocations: 15.98 kB / 1.273 GB, free: 280 kB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.429e-05/0.9608, allocations: 15.98 kB / 1.273 GB, free: 264 kB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000146/0.9609, allocations: 44.88 kB / 1.273 GB, free: 216 kB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.088e-06/0.9609, allocations: 3.938 kB / 1.273 GB, free: 212 kB / 0.9669 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001996/0.9611, allocations: 65.62 kB / 1.273 GB, free: 140 kB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.928e-05/0.9612, allocations: 8 kB / 1.273 GB, free: 132 kB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.139e-06/0.9612, allocations: 3.938 kB / 1.273 GB, free: 128 kB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.668e-05/0.9612, allocations: 3.984 kB / 1.273 GB, free: 124 kB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001089/0.9613, allocations: 8.031 kB / 1.273 GB, free: 116 kB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.103e-06/0.9613, allocations: 4 kB / 1.273 GB, free: 112 kB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.052e-05/0.9613, allocations: 7.984 kB / 1.273 GB, free: 104 kB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.005e-06/0.9614, allocations: 0 / 1.273 GB, free: 104 kB / 0.9669 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 0.0001604/0.9615, allocations: 114.7 kB / 1.273 GB, free: 15.98 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.826e-05/0.9616, allocations: 4 kB / 1.273 GB, free: 15.98 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002464/0.9618, allocations: 69.19 kB / 1.274 GB, free: 15.89 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.9618, allocations: 4 kB / 1.274 GB, free: 15.89 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.324e-06/0.9618, allocations: 3.984 kB / 1.274 GB, free: 15.89 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.9618, allocations: 0 / 1.274 GB, free: 15.89 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002959/0.9621, allocations: 161.6 kB / 1.274 GB, free: 15.68 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.31e-07/0.9621, allocations: 0 / 1.274 GB, free: 15.68 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.992e-05/0.9622, allocations: 15.92 kB / 1.274 GB, free: 15.66 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.567e-06/0.9622, allocations: 3.984 kB / 1.274 GB, free: 15.66 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.254e-06/0.9622, allocations: 3.938 kB / 1.274 GB, free: 15.66 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.9622, allocations: 0 / 1.274 GB, free: 15.66 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.9622, allocations: 0 / 1.274 GB, free: 15.66 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002718/0.9625, allocations: 171.5 kB / 1.274 GB, free: 15.47 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.721e-05/0.9625, allocations: 85 kB / 1.274 GB, free: 15.37 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.301e-05/0.9625, allocations: 0 / 1.274 GB, free: 15.37 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.123e-05/0.9626, allocations: 7.984 kB / 1.274 GB, free: 15.36 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.305e-05/0.9626, allocations: 0 / 1.274 GB, free: 15.36 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.925e-06/0.9626, allocations: 4.031 kB / 1.274 GB, free: 15.36 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.868e-05/0.9627, allocations: 95.52 kB / 1.274 GB, free: 15.27 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.9627, allocations: 0 / 1.274 GB, free: 15.27 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002383/0.963, allocations: 15.94 kB / 1.274 GB, free: 15.25 MB / 0.9825 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.0006849/0.9636, allocations: 0.7168 MB / 1.275 GB, free: 14.51 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002068/0.9638, allocations: 39.95 kB / 1.275 GB, free: 14.47 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.9638, allocations: 0 / 1.275 GB, free: 14.47 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 8.512e-05/0.9639, allocations: 23.92 kB / 1.275 GB, free: 14.45 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003004/0.9642, allocations: 2.344 kB / 1.275 GB, free: 14.45 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004659/0.9647, allocations: 151.2 kB / 1.275 GB, free: 14.26 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003777/0.9651, allocations: 0.6807 MB / 1.276 GB, free: 13.55 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.505e-05/0.9651, allocations: 0 / 1.276 GB, free: 13.55 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.181e-05/0.9651, allocations: 7.438 kB / 1.276 GB, free: 13.54 MB / 0.9825 GB Notification: Performance of SimCode: time 4.31e-07/0.9651, allocations: 0 / 1.276 GB, free: 13.54 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02671/0.9918, allocations: 1.613 MB / 1.277 GB, free: 12.02 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.265/9.257, allocations: 4.828 kB / 1.277 GB, free: 12.02 MB / 0.9825 GB " [Timeout remaining time 291] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Math.Examples.RegNonZeroPower_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Math_Examples_RegNonZeroPower_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 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.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Examples_RegNonZeroPower.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 15.442056161817163]