Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001299/0.001299, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001807/0.001807, allocations: 218.9 kB / 22.26 MB, free: 5.121 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.5/1.5, allocations: 230.6 MB / 256 MB, free: 7.949 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.442/3.442, allocations: 0.505 GB / 0.8101 GB, free: 21.96 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Utilities_Math_Functions_Examples_PowerLinearized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.PowerLinearized,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Functions_Examples_PowerLinearized",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.002352/0.002352, allocations: 67.3 kB / 1.177 GB, free: 16.99 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.387/0.3893, allocations: 180.2 MB / 1.353 GB, free: 8.352 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.PowerLinearized): time 0.002011/0.3913, allocations: 0.5936 MB / 1.353 GB, free: 7.762 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.0003635/0.3917, allocations: 108.1 kB / 1.354 GB, free: 7.656 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.906e-05/0.3917, allocations: 0 / 1.354 GB, free: 7.656 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 1.377e-05/0.3917, allocations: 0 / 1.354 GB, free: 7.656 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 4.705e-05/0.3918, allocations: 0 / 1.354 GB, free: 7.656 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002271/0.392, allocations: 15.98 kB / 1.354 GB, free: 7.641 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 6.049e-05/0.3921, allocations: 11.94 kB / 1.354 GB, free: 7.629 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 5.257e-05/0.3921, allocations: 0 / 1.354 GB, free: 7.629 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 2.495e-05/0.3921, allocations: 4 kB / 1.354 GB, free: 7.625 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 8.093e-05/0.3922, allocations: 3.984 kB / 1.354 GB, free: 7.621 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.278e-05/0.3922, allocations: 0 / 1.354 GB, free: 7.621 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 7.013e-05/0.3923, allocations: 15.98 kB / 1.354 GB, free: 7.605 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 1.457e-05/0.3923, allocations: 7.922 kB / 1.354 GB, free: 7.598 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 2.315e-05/0.3923, allocations: 4 kB / 1.354 GB, free: 7.594 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 9.621e-05/0.3924, allocations: 16.2 kB / 1.354 GB, free: 7.578 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.3924, allocations: 4 kB / 1.354 GB, free: 7.574 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.413e-06/0.3924, allocations: 0 / 1.354 GB, free: 7.574 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.48e-06/0.3924, allocations: 0 / 1.354 GB, free: 7.574 MB / 1.045 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.0003579/0.3928, allocations: 242.5 kB / 1.354 GB, free: 7.305 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.136e-05/0.3928, allocations: 8.031 kB / 1.354 GB, free: 7.297 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.973e-05/0.3929, allocations: 30.75 kB / 1.354 GB, free: 7.258 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001596/0.393, allocations: 16.88 kB / 1.354 GB, free: 7.242 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.477e-05/0.3931, allocations: 110.4 kB / 1.354 GB, free: 7.109 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.33e-05/0.3932, allocations: 4.375 kB / 1.354 GB, free: 7.105 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.536e-06/0.3932, allocations: 384 / 1.354 GB, free: 7.105 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001401/0.3933, allocations: 50.17 kB / 1.354 GB, free: 7.051 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.072e-05/0.3933, allocations: 3.938 kB / 1.354 GB, free: 7.047 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.275e-06/0.3933, allocations: 0 / 1.354 GB, free: 7.047 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.726e-06/0.3933, allocations: 3.984 kB / 1.354 GB, free: 7.043 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.282e-05/0.3934, allocations: 11.98 kB / 1.354 GB, free: 7.031 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001628/0.3936, allocations: 120.8 kB / 1.354 GB, free: 6.871 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001721/0.3938, allocations: 46.59 kB / 1.354 GB, free: 6.816 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.503e-05/0.3938, allocations: 8.922 kB / 1.354 GB, free: 6.805 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.649e-05/0.3938, allocations: 0 / 1.354 GB, free: 6.805 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.554e-05/0.3939, allocations: 42.5 kB / 1.354 GB, free: 6.754 MB / 1.045 GB Notification: Performance of pre-optimization done (n=3): time 9.32e-07/0.3939, allocations: 0 / 1.354 GB, free: 6.754 MB / 1.045 GB Notification: Performance of matching and sorting (n=3): time 0.0002244/0.3941, allocations: 65.55 kB / 1.354 GB, free: 6.684 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.293e-05/0.3941, allocations: 55.41 kB / 1.354 GB, free: 6.617 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.911e-05/0.3942, allocations: 89.86 kB / 1.355 GB, free: 6.52 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.539e-05/0.3942, allocations: 25.7 kB / 1.355 GB, free: 6.488 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 3.887e-05/0.3942, allocations: 80.14 kB / 1.355 GB, free: 6.406 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 3.692e-05/0.3943, allocations: 7.938 kB / 1.355 GB, free: 6.398 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.669e-05/0.3943, allocations: 17.72 kB / 1.355 GB, free: 6.375 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001412/0.3944, allocations: 310.8 kB / 1.355 GB, free: 6.062 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.085e-05/0.3945, allocations: 11.98 kB / 1.355 GB, free: 6.051 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.223e-05/0.3945, allocations: 8 kB / 1.355 GB, free: 6.043 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.717e-05/0.3946, allocations: 24.78 kB / 1.355 GB, free: 6.016 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.3946, allocations: 0 / 1.355 GB, free: 6.016 MB / 1.045 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001224/0.3947, allocations: 49.69 kB / 1.355 GB, free: 5.961 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.418e-05/0.3947, allocations: 4 kB / 1.355 GB, free: 5.957 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.3947, allocations: 3.938 kB / 1.355 GB, free: 5.953 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.234e-05/0.3948, allocations: 4 kB / 1.355 GB, free: 5.949 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000405/0.3952, allocations: 43.92 kB / 1.355 GB, free: 5.906 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001465/0.3966, allocations: 1.309 MB / 1.356 GB, free: 4.484 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.903e-05/0.3967, allocations: 0 / 1.356 GB, free: 4.484 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.438e-06/0.3967, allocations: 4.031 kB / 1.356 GB, free: 4.48 MB / 1.045 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 9.131e-05/0.3968, allocations: 113.7 kB / 1.356 GB, free: 4.359 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.172e-05/0.3968, allocations: 3.953 kB / 1.356 GB, free: 4.355 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.003e-05/0.3968, allocations: 11.47 kB / 1.357 GB, free: 4.34 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.3968, allocations: 4 kB / 1.357 GB, free: 4.336 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.222e-06/0.3968, allocations: 4.062 kB / 1.357 GB, free: 4.332 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.405e-06/0.3968, allocations: 0 / 1.357 GB, free: 4.332 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001156/0.3969, allocations: 124.7 kB / 1.357 GB, free: 4.168 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.3969, allocations: 0 / 1.357 GB, free: 4.168 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003763/0.3973, allocations: 51.86 kB / 1.357 GB, free: 4.117 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.325e-06/0.3973, allocations: 0 / 1.357 GB, free: 4.117 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.448e-06/0.3973, allocations: 8 kB / 1.357 GB, free: 4.109 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001328/0.3986, allocations: 1.297 MB / 1.358 GB, free: 2.703 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/0.3986, allocations: 3.984 kB / 1.358 GB, free: 2.699 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001401/0.3988, allocations: 73.19 kB / 1.358 GB, free: 2.609 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 6.562e-06/0.3988, allocations: 4 kB / 1.358 GB, free: 2.605 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.265e-06/0.3988, allocations: 3.938 kB / 1.358 GB, free: 2.602 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.099e-05/0.3988, allocations: 7.984 kB / 1.358 GB, free: 2.594 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.979e-05/0.3988, allocations: 4 kB / 1.358 GB, free: 2.59 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.176e-06/0.3988, allocations: 0 / 1.358 GB, free: 2.59 MB / 1.045 GB Notification: Performance of sorting global known variables: time 3.747e-05/0.3989, allocations: 75.28 kB / 1.358 GB, free: 2.516 MB / 1.045 GB Notification: Performance of sort global known variables: time 7e-08/0.3989, allocations: 0 / 1.358 GB, free: 2.516 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.000228/0.3991, allocations: 8 kB / 1.358 GB, free: 2.508 MB / 1.045 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.0005043/0.3996, allocations: 0.6123 MB / 1.359 GB, free: 1.863 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0004656/0.4001, allocations: 67.98 kB / 1.359 GB, free: 1.797 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.4001, allocations: 0 / 1.359 GB, free: 1.797 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.000245/0.4003, allocations: 35.95 kB / 1.359 GB, free: 1.762 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001443/0.4005, allocations: 3.578 kB / 1.359 GB, free: 1.762 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005176/0.401, allocations: 126.5 kB / 1.359 GB, free: 1.598 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003056/0.4013, allocations: 0.6729 MB / 1.36 GB, free: 0.8984 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 3.242e-05/0.4013, allocations: 3.984 kB / 1.36 GB, free: 0.8945 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.697e-05/0.4014, allocations: 15.44 kB / 1.36 GB, free: 0.8828 MB / 1.045 GB Notification: Performance of SimCode: time 4.51e-07/0.4014, allocations: 0 / 1.36 GB, free: 0.8828 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03043/0.4318, allocations: 1.328 MB / 1.361 GB, free: 15.68 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.61/13.04, allocations: 7.875 kB / 1.361 GB, free: 15.68 MB / 1.061 GB " [Timeout remaining time 287] (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Math.Functions.Examples.PowerLinearized_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Math_Functions_Examples_PowerLinearized_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Math_Functions_Examples_PowerLinearized.fmu > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.PowerLinearized_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_PowerLinearized.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 20.22010417492129]