Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0008063/0.0008063, 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.0008238/0.0008238, allocations: 165.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.9105/0.9105, 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 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.764/1.764, allocations: 377.9 MB / 0.6221 GB, free: 8.633 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.PowerLinearized,fileNamePrefix="Buildings_12_Buildings_Utilities_Math_Functions_Examples_PowerLinearized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.PowerLinearized,fileNamePrefix="Buildings_12_Buildings_Utilities_Math_Functions_Examples_PowerLinearized",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.963e-06/1.963e-06, allocations: 0 / 0.981 GB, free: 2.52 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.758e-05/1.955e-05, allocations: 6.219 kB / 0.981 GB, free: 2.512 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.PowerLinearized): time 0.001473/0.001492, allocations: 0.5956 MB / 0.9816 GB, free: 1.918 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0002638/0.001756, allocations: 87.73 kB / 0.9817 GB, free: 1.832 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.662e-05/0.001773, allocations: 0 / 0.9817 GB, free: 1.832 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 1.589e-05/0.001789, allocations: 0 / 0.9817 GB, free: 1.832 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 4.649e-05/0.001835, allocations: 4 kB / 0.9817 GB, free: 1.828 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002148/0.00205, allocations: 15.86 kB / 0.9817 GB, free: 1.812 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 5.605e-05/0.002106, allocations: 15.92 kB / 0.9817 GB, free: 1.797 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 4.306e-05/0.002149, allocations: 0 / 0.9817 GB, free: 1.797 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 3.495e-05/0.002184, allocations: 7.984 kB / 0.9817 GB, free: 1.789 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 7.116e-05/0.002255, allocations: 8 kB / 0.9817 GB, free: 1.781 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 1.443e-05/0.00227, allocations: 0 / 0.9817 GB, free: 1.781 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 5.871e-05/0.002328, allocations: 11.98 kB / 0.9817 GB, free: 1.77 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 1.291e-05/0.002341, allocations: 4 kB / 0.9817 GB, free: 1.766 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 1.434e-05/0.002356, allocations: 0 / 0.9817 GB, free: 1.766 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 9.912e-05/0.002455, allocations: 19.95 kB / 0.9818 GB, free: 1.746 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 2.014e-06/0.002457, allocations: 4 kB / 0.9818 GB, free: 1.742 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.152e-06/0.002458, allocations: 0 / 0.9818 GB, free: 1.742 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 4.078e-06/0.002462, allocations: 0 / 0.9818 GB, free: 1.742 MB / 0.9323 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.0002948/0.002757, allocations: 242.4 kB / 0.982 GB, free: 1.473 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.984e-05/0.002796, allocations: 16.03 kB / 0.982 GB, free: 1.457 MB / 0.9323 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.022e-05/0.002827, allocations: 34.69 kB / 0.982 GB, free: 1.414 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001315/0.002958, allocations: 12.92 kB / 0.9821 GB, free: 1.402 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.549e-05/0.003024, allocations: 109.7 kB / 0.9822 GB, free: 1.27 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.954e-05/0.003043, allocations: 384 / 0.9822 GB, free: 1.27 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.814e-06/0.003051, allocations: 384 / 0.9822 GB, free: 1.27 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001061/0.003157, allocations: 42.23 kB / 0.9822 GB, free: 1.223 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.656e-06/0.003166, allocations: 8.188 kB / 0.9822 GB, free: 1.215 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.845e-06/0.003174, allocations: 384 / 0.9822 GB, free: 1.215 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.003179, allocations: 4.125 kB / 0.9822 GB, free: 1.211 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.347e-05/0.003242, allocations: 19.92 kB / 0.9822 GB, free: 1.191 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000129/0.003371, allocations: 120.8 kB / 0.9823 GB, free: 1.031 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001329/0.003504, allocations: 42.5 kB / 0.9824 GB, free: 0.9805 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.747e-05/0.003542, allocations: 16.91 kB / 0.9824 GB, free: 0.9609 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 1.685e-05/0.003559, allocations: 0 / 0.9824 GB, free: 0.9609 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.051e-05/0.003579, allocations: 34.56 kB / 0.9824 GB, free: 0.918 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=3): time 1.002e-06/0.00358, allocations: 0 / 0.9824 GB, free: 0.918 MB / 0.9323 GB Notification: Performance of matching and sorting (n=3): time 0.0001771/0.003757, allocations: 53.67 kB / 0.9825 GB, free: 0.8594 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.235e-05/0.00379, allocations: 59.34 kB / 0.9825 GB, free: 0.7891 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.427e-05/0.003824, allocations: 93.8 kB / 0.9826 GB, free: 0.6875 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 1.066e-05/0.003834, allocations: 25.7 kB / 0.9827 GB, free: 0.6562 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 1.996e-05/0.003854, allocations: 80.14 kB / 0.9827 GB, free: 0.5742 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 2.916e-05/0.003884, allocations: 7.953 kB / 0.9827 GB, free: 0.5664 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.876e-05/0.003912, allocations: 13.72 kB / 0.9828 GB, free: 0.5469 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 9.825e-05/0.004011, allocations: 314.8 kB / 0.9831 GB, free: 236 kB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.244e-05/0.004043, allocations: 8 kB / 0.9831 GB, free: 228 kB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.339e-05/0.004066, allocations: 7.984 kB / 0.9831 GB, free: 220 kB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.111e-05/0.004128, allocations: 24.86 kB / 0.9831 GB, free: 192 kB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.235e-06/0.00413, allocations: 0 / 0.9831 GB, free: 192 kB / 0.9323 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.265e-05/0.004222, allocations: 53.62 kB / 0.9831 GB, free: 132 kB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.658e-05/0.004239, allocations: 6.969 kB / 0.9832 GB, free: 128 kB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.004244, allocations: 0 / 0.9832 GB, free: 128 kB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.185e-05/0.004256, allocations: 0 / 0.9832 GB, free: 128 kB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002763/0.004532, allocations: 47.88 kB / 0.9832 GB, free: 80 kB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001082/0.005614, allocations: 1.301 MB / 0.9845 GB, free: 14.67 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.275e-05/0.005636, allocations: 7.891 kB / 0.9845 GB, free: 14.66 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.861e-06/0.005642, allocations: 4.031 kB / 0.9845 GB, free: 14.66 MB / 0.948 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.637e-05/0.005709, allocations: 117.7 kB / 0.9846 GB, free: 14.53 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.261e-06/0.005715, allocations: 0 / 0.9846 GB, free: 14.53 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.605e-05/0.005731, allocations: 7.531 kB / 0.9846 GB, free: 14.52 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.223e-06/0.005732, allocations: 4 kB / 0.9846 GB, free: 14.52 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.22e-07/0.005733, allocations: 0 / 0.9846 GB, free: 14.52 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.005736, allocations: 8.078 kB / 0.9846 GB, free: 14.51 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.778e-05/0.005814, allocations: 120.7 kB / 0.9847 GB, free: 14.35 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.005815, allocations: 0 / 0.9847 GB, free: 14.35 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002391/0.006055, allocations: 51.92 kB / 0.9848 GB, free: 14.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/0.006058, allocations: 4 kB / 0.9848 GB, free: 14.29 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.123e-06/0.006065, allocations: 0 / 0.9848 GB, free: 14.29 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009677/0.007032, allocations: 1.293 MB / 0.986 GB, free: 12.89 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.007035, allocations: 8.094 kB / 0.9861 GB, free: 12.88 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.103e-05/0.007126, allocations: 73.14 kB / 0.9861 GB, free: 12.79 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 3.897e-06/0.00713, allocations: 4 kB / 0.9861 GB, free: 12.79 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.536e-06/0.007138, allocations: 3.938 kB / 0.9861 GB, free: 12.79 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.159e-05/0.00723, allocations: 0 / 0.9861 GB, free: 12.79 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.276e-05/0.007262, allocations: 11.92 kB / 0.9861 GB, free: 12.77 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.62e-06/0.007268, allocations: 0 / 0.9861 GB, free: 12.77 MB / 0.948 GB Notification: Performance of sorting global known variables: time 2.477e-05/0.007293, allocations: 75.28 kB / 0.9862 GB, free: 12.7 MB / 0.948 GB Notification: Performance of sort global known variables: time 7e-08/0.007293, allocations: 0 / 0.9862 GB, free: 12.7 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001448/0.007438, allocations: 7.938 kB / 0.9862 GB, free: 12.69 MB / 0.948 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.0003479/0.007786, allocations: 0.6086 MB / 0.9868 GB, free: 12.05 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0002939/0.00808, allocations: 64 kB / 0.9869 GB, free: 11.99 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.008081, allocations: 4 kB / 0.9869 GB, free: 11.99 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001208/0.008202, allocations: 35.98 kB / 0.9869 GB, free: 11.95 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001081/0.00831, allocations: 14.5 kB / 0.9869 GB, free: 11.94 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003623/0.008673, allocations: 121.1 kB / 0.987 GB, free: 11.79 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.371e-05/0.008706, allocations: 59.36 kB / 0.9871 GB, free: 11.71 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 2.466e-05/0.008731, allocations: 8 kB / 0.9871 GB, free: 11.7 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.252e-05/0.008764, allocations: 12.48 kB / 0.9871 GB, free: 11.69 MB / 0.948 GB Notification: Performance of SimCode: time 4.61e-07/0.008764, allocations: 3.938 kB / 0.9871 GB, free: 11.68 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01282/0.02158, allocations: 1.903 MB / 0.989 GB, free: 9.918 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.836/7.857, allocations: 5.922 kB / 0.989 GB, free: 9.918 MB / 0.948 GB " [Timeout remaining time 292] (rm -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Utilities.Math.Functions.Examples.PowerLinearized_res.mat --tempDir=temp_Buildings_12_Buildings_Utilities_Math_Functions_Examples_PowerLinearized_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Utilities_Math_Functions_Examples_PowerLinearized.fmu > Buildings_12_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Functions.Examples.PowerLinearized_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Functions_Examples_PowerLinearized.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.924949868582189]