Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.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.0008124/0.0008124, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.0009495/0.0009495, allocations: 165.9 kB / 22.46 MB, free: 2.109 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.9138/0.9138, allocations: 177.1 MB / 202.8 MB, free: 5.734 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.7/1.7, allocations: 359 MB / 0.6037 GB, free: 11.09 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.Functions.Examples.PowerLinearized,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Functions_Examples_PowerLinearized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.PowerLinearized,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Functions_Examples_PowerLinearized",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.904e-06/1.904e-06, allocations: 3.938 kB / 0.9505 GB, free: 3.449 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.894e-05/2.084e-05, allocations: 6.219 kB / 0.9506 GB, free: 3.441 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.PowerLinearized): time 0.001335/0.001355, allocations: 0.5995 MB / 0.9511 GB, free: 2.836 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0002368/0.001592, allocations: 83.75 kB / 0.9512 GB, free: 2.754 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.711e-05/0.001609, allocations: 0 / 0.9512 GB, free: 2.754 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 1.725e-05/0.001627, allocations: 0 / 0.9512 GB, free: 2.754 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 5.057e-05/0.001677, allocations: 7.938 kB / 0.9512 GB, free: 2.746 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002252/0.001902, allocations: 19.86 kB / 0.9512 GB, free: 2.727 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 5.988e-05/0.001962, allocations: 15.92 kB / 0.9513 GB, free: 2.711 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 4.226e-05/0.002004, allocations: 0 / 0.9513 GB, free: 2.711 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 3.448e-05/0.002039, allocations: 4 kB / 0.9513 GB, free: 2.707 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 7.392e-05/0.002113, allocations: 7.984 kB / 0.9513 GB, free: 2.699 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.713e-05/0.00213, allocations: 0 / 0.9513 GB, free: 2.699 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 5.991e-05/0.00219, allocations: 15.98 kB / 0.9513 GB, free: 2.684 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 1.426e-05/0.002204, allocations: 0 / 0.9513 GB, free: 2.684 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 1.657e-05/0.002221, allocations: 0 / 0.9513 GB, free: 2.684 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 9.575e-05/0.002316, allocations: 19.97 kB / 0.9513 GB, free: 2.664 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 1.954e-06/0.002318, allocations: 4 kB / 0.9513 GB, free: 2.66 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.122e-06/0.00232, allocations: 0 / 0.9513 GB, free: 2.66 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 4.348e-06/0.002324, allocations: 0 / 0.9513 GB, free: 2.66 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.000298/0.002622, allocations: 246.4 kB / 0.9515 GB, free: 2.387 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.588e-05/0.002668, allocations: 8.031 kB / 0.9515 GB, free: 2.379 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.062e-05/0.002698, allocations: 30.75 kB / 0.9516 GB, free: 2.34 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001282/0.002827, allocations: 12.92 kB / 0.9516 GB, free: 2.328 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.802e-05/0.002885, allocations: 105.8 kB / 0.9517 GB, free: 2.199 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.154e-05/0.002906, allocations: 384 / 0.9517 GB, free: 2.199 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.915e-06/0.002914, allocations: 8.312 kB / 0.9517 GB, free: 2.191 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001023/0.003016, allocations: 42.19 kB / 0.9517 GB, free: 2.145 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.314e-06/0.003024, allocations: 4.188 kB / 0.9517 GB, free: 2.141 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.227e-06/0.003033, allocations: 384 / 0.9517 GB, free: 2.141 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.182e-06/0.003039, allocations: 4.125 kB / 0.9517 GB, free: 2.137 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.399e-05/0.003093, allocations: 11.98 kB / 0.9518 GB, free: 2.125 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001185/0.003212, allocations: 124.7 kB / 0.9519 GB, free: 1.961 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000143/0.003355, allocations: 38.61 kB / 0.9519 GB, free: 1.914 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.197e-05/0.003386, allocations: 20.91 kB / 0.9519 GB, free: 1.891 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 1.793e-05/0.003404, allocations: 3.938 kB / 0.9519 GB, free: 1.887 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.167e-05/0.003426, allocations: 34.56 kB / 0.952 GB, free: 1.844 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=3): time 7.92e-07/0.003427, allocations: 0 / 0.952 GB, free: 1.844 MB / 0.9011 GB Notification: Performance of matching and sorting (n=3): time 0.0001559/0.003583, allocations: 53.67 kB / 0.952 GB, free: 1.785 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.969e-05/0.003612, allocations: 55.34 kB / 0.9521 GB, free: 1.719 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.291e-05/0.003635, allocations: 89.86 kB / 0.9522 GB, free: 1.621 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 9.467e-06/0.003645, allocations: 25.7 kB / 0.9522 GB, free: 1.59 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 2.261e-05/0.003667, allocations: 80.14 kB / 0.9523 GB, free: 1.508 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 2.839e-05/0.003696, allocations: 15.89 kB / 0.9523 GB, free: 1.492 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.516e-05/0.003721, allocations: 17.7 kB / 0.9523 GB, free: 1.469 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 6.693e-05/0.003788, allocations: 310.8 kB / 0.9526 GB, free: 1.156 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.242e-05/0.00381, allocations: 8 kB / 0.9526 GB, free: 1.148 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.724e-05/0.003828, allocations: 11.92 kB / 0.9526 GB, free: 1.137 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.628e-05/0.003874, allocations: 32.78 kB / 0.9526 GB, free: 1.102 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.003875, allocations: 0 / 0.9526 GB, free: 1.102 MB / 0.9011 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.241e-05/0.003938, allocations: 49.92 kB / 0.9527 GB, free: 1.047 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.174e-05/0.00395, allocations: 4 kB / 0.9527 GB, free: 1.043 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.117e-06/0.003954, allocations: 4 kB / 0.9527 GB, free: 1.039 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.099e-05/0.003965, allocations: 48 / 0.9527 GB, free: 1.039 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002076/0.004172, allocations: 47.91 kB / 0.9527 GB, free: 0.9922 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000892/0.005064, allocations: 1.297 MB / 0.954 GB, free: 15.58 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.773e-05/0.005082, allocations: 3.953 kB / 0.954 GB, free: 15.58 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.522e-06/0.005089, allocations: 4.031 kB / 0.954 GB, free: 15.57 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 (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 6.439e-05/0.005153, allocations: 113.9 kB / 0.9541 GB, free: 15.45 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.99e-06/0.005158, allocations: 0 / 0.9541 GB, free: 15.45 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.21e-05/0.00517, allocations: 15.52 kB / 0.9541 GB, free: 15.43 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.71e-07/0.005171, allocations: 0 / 0.9541 GB, free: 15.43 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.303e-06/0.005172, allocations: 3.938 kB / 0.9541 GB, free: 15.43 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.005176, allocations: 0 / 0.9541 GB, free: 15.43 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.788e-05/0.005244, allocations: 120.7 kB / 0.9543 GB, free: 15.27 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.005245, allocations: 0 / 0.9543 GB, free: 15.27 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001735/0.005419, allocations: 59.86 kB / 0.9543 GB, free: 15.21 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.005421, allocations: 0 / 0.9543 GB, free: 15.21 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.883e-06/0.005428, allocations: 0 / 0.9543 GB, free: 15.21 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006988/0.006126, allocations: 1.297 MB / 0.9556 GB, free: 13.8 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/0.006129, allocations: 7.875 kB / 0.9556 GB, free: 13.8 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.134e-05/0.006201, allocations: 73.14 kB / 0.9557 GB, free: 13.71 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 2.835e-06/0.006204, allocations: 4 kB / 0.9557 GB, free: 13.7 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.627e-06/0.006207, allocations: 0 / 0.9557 GB, free: 13.7 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.276e-05/0.00622, allocations: 4.109 kB / 0.9557 GB, free: 13.7 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.81e-05/0.006238, allocations: 11.94 kB / 0.9557 GB, free: 13.69 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.166e-06/0.006241, allocations: 0 / 0.9557 GB, free: 13.69 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 2.002e-05/0.006261, allocations: 75.28 kB / 0.9558 GB, free: 13.61 MB / 0.9167 GB Notification: Performance of sort global known variables: time 6.1e-08/0.006261, allocations: 0 / 0.9558 GB, free: 13.61 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001405/0.006402, allocations: 4 kB / 0.9558 GB, free: 13.61 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 (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002569/0.006659, allocations: 0.6085 MB / 0.9563 GB, free: 12.97 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0002433/0.006902, allocations: 67.91 kB / 0.9564 GB, free: 12.9 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.006904, allocations: 0 / 0.9564 GB, free: 12.9 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0001144/0.007018, allocations: 31.95 kB / 0.9564 GB, free: 12.87 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.738e-05/0.007115, allocations: 14.53 kB / 0.9565 GB, free: 12.86 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003253/0.007441, allocations: 126.5 kB / 0.9566 GB, free: 12.7 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.58e-05/0.007476, allocations: 63.3 kB / 0.9566 GB, free: 12.61 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 2.574e-05/0.007502, allocations: 7.984 kB / 0.9566 GB, free: 12.61 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.117e-05/0.007533, allocations: 8.5 kB / 0.9567 GB, free: 12.6 MB / 0.9167 GB Notification: Performance of SimCode: time 3.71e-07/0.007534, allocations: 0 / 0.9567 GB, free: 12.6 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0153/0.02284, allocations: 1.895 MB / 0.9585 GB, free: 10.85 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.506/7.529, allocations: 10.55 kB / 0.9585 GB, free: 10.84 MB / 0.9167 GB " [Timeout remaining time 292] (rm -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Math.Functions.Examples.PowerLinearized_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Math_Functions_Examples_PowerLinearized_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Utilities_Math_Functions_Examples_PowerLinearized.fmu > Buildings_11_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Functions.Examples.PowerLinearized_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Functions_Examples_PowerLinearized.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.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.509772871620953]