Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.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.001614/0.001614, allocations: 117.3 kB / 17.16 MB, free: 5.914 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.001958/0.001958, allocations: 206.2 kB / 20.13 MB, free: 2.969 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.612/1.612, allocations: 230.6 MB / 253.5 MB, free: 15.1 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.096/3.096, allocations: 0.5003 GB / 0.8026 GB, free: 6.738 MB / 0.6387 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.Examples.PowerLinearized,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Examples_PowerLinearized",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.PowerLinearized,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Examples_PowerLinearized",fmuType="cs",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.001979/0.001979, allocations: 67.91 kB / 1.165 GB, free: 0.4922 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9059/0.9079, allocations: 178.9 MB / 1.34 GB, free: 16.28 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.PowerLinearized): time 0.002861/0.9107, allocations: 1.473 MB / 1.342 GB, free: 15.25 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.000317/0.911, allocations: 94.16 kB / 1.342 GB, free: 15.18 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.903e-05/0.9111, allocations: 0 / 1.342 GB, free: 15.18 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 2.972e-05/0.9111, allocations: 1.125 kB / 1.342 GB, free: 15.18 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 5.596e-05/0.9112, allocations: 4.688 kB / 1.342 GB, free: 15.18 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.000194/0.9113, allocations: 14.2 kB / 1.342 GB, free: 15.18 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 9.624e-05/0.9114, allocations: 29.56 kB / 1.342 GB, free: 15.16 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001136/0.9116, allocations: 7 kB / 1.342 GB, free: 15.16 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 4.094e-05/0.9116, allocations: 14.05 kB / 1.342 GB, free: 15.15 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 4.677e-05/0.9116, allocations: 14.23 kB / 1.342 GB, free: 15.14 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.798e-05/0.9117, allocations: 6.219 kB / 1.342 GB, free: 15.14 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 6.899e-05/0.9117, allocations: 16.53 kB / 1.342 GB, free: 15.13 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.714e-05/0.9117, allocations: 2.203 kB / 1.342 GB, free: 15.13 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.595e-05/0.9118, allocations: 11.38 kB / 1.342 GB, free: 15.12 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001248/0.9119, allocations: 40.98 kB / 1.342 GB, free: 15.11 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.9119, allocations: 0.6094 kB / 1.342 GB, free: 15.11 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.823e-06/0.9119, allocations: 0 / 1.342 GB, free: 15.11 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.681e-06/0.9119, allocations: 0 / 1.342 GB, free: 15.11 MB / 1.061 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.0004347/0.9123, allocations: 347.1 kB / 1.342 GB, free: 14.74 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.805e-05/0.9124, allocations: 8.938 kB / 1.342 GB, free: 14.74 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.935e-05/0.9124, allocations: 2.188 kB / 1.342 GB, free: 14.74 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.795e-05/0.9124, allocations: 31.27 kB / 1.342 GB, free: 14.7 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001776/0.9126, allocations: 17.05 kB / 1.342 GB, free: 14.7 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.127e-05/0.9127, allocations: 167.1 kB / 1.342 GB, free: 14.5 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.86e-05/0.9127, allocations: 5.688 kB / 1.342 GB, free: 14.49 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.394e-05/0.9127, allocations: 5.781 kB / 1.342 GB, free: 14.49 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001996/0.9129, allocations: 59.41 kB / 1.342 GB, free: 14.45 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.848e-06/0.9129, allocations: 1.094 kB / 1.342 GB, free: 14.45 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.288e-06/0.913, allocations: 0 / 1.342 GB, free: 14.45 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.701e-06/0.913, allocations: 1.094 kB / 1.342 GB, free: 14.45 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002232/0.9132, allocations: 55.5 kB / 1.342 GB, free: 14.43 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003323/0.9135, allocations: 269.9 kB / 1.343 GB, free: 14.15 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001664/0.9137, allocations: 54.61 kB / 1.343 GB, free: 14.11 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000109/0.9138, allocations: 29.16 kB / 1.343 GB, free: 14.1 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.149e-05/0.9138, allocations: 0 / 1.343 GB, free: 14.1 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.437e-05/0.9138, allocations: 36.39 kB / 1.343 GB, free: 14.06 MB / 1.061 GB Notification: Performance of pre-optimization done (n=2): time 8.61e-07/0.9138, allocations: 5.125 kB / 1.343 GB, free: 14.05 MB / 1.061 GB Notification: Performance of matching and sorting (n=2): time 0.0004155/0.9142, allocations: 95.83 kB / 1.343 GB, free: 14.02 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.082e-05/0.9143, allocations: 57.11 kB / 1.343 GB, free: 13.95 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.554e-05/0.9143, allocations: 107.3 kB / 1.343 GB, free: 13.84 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 9.989e-06/0.9143, allocations: 30.5 kB / 1.343 GB, free: 13.81 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 2.704e-05/0.9144, allocations: 82.41 kB / 1.343 GB, free: 13.73 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.822e-05/0.9144, allocations: 5.422 kB / 1.343 GB, free: 13.72 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.095e-05/0.9144, allocations: 17.84 kB / 1.343 GB, free: 13.7 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 4.121e-05/0.9144, allocations: 313.1 kB / 1.344 GB, free: 13.39 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001097/0.9146, allocations: 22.89 kB / 1.344 GB, free: 13.39 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001/0.9147, allocations: 28.92 kB / 1.344 GB, free: 13.38 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000196/0.9149, allocations: 57.95 kB / 1.344 GB, free: 13.36 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-06/0.9149, allocations: 1.406 kB / 1.344 GB, free: 13.36 MB / 1.061 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002318/0.9151, allocations: 73.2 kB / 1.344 GB, free: 13.32 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.375e-05/0.9151, allocations: 9.719 kB / 1.344 GB, free: 13.32 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.379e-06/0.9151, allocations: 0 / 1.344 GB, free: 13.32 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.894e-05/0.9151, allocations: 5.688 kB / 1.344 GB, free: 13.31 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000112/0.9152, allocations: 15.55 kB / 1.344 GB, free: 13.31 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.26e-06/0.9152, allocations: 0 / 1.344 GB, free: 13.31 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.268e-05/0.9153, allocations: 8.703 kB / 1.344 GB, free: 13.31 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.891e-06/0.9153, allocations: 0 / 1.344 GB, free: 13.31 MB / 1.061 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.391e-05/0.9154, allocations: 112.4 kB / 1.344 GB, free: 13.19 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.538e-05/0.9154, allocations: 10.52 kB / 1.344 GB, free: 13.18 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.711e-05/0.9154, allocations: 10.09 kB / 1.344 GB, free: 13.17 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.373e-06/0.9154, allocations: 0 / 1.344 GB, free: 13.17 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.9154, allocations: 0 / 1.344 GB, free: 13.17 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.9154, allocations: 0.7969 kB / 1.344 GB, free: 13.17 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001271/0.9155, allocations: 168.9 kB / 1.344 GB, free: 12.97 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.51e-07/0.9156, allocations: 0 / 1.344 GB, free: 12.97 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.943e-05/0.9156, allocations: 11.02 kB / 1.344 GB, free: 12.97 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.9156, allocations: 1.812 kB / 1.344 GB, free: 12.97 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.186e-06/0.9156, allocations: 0 / 1.344 GB, free: 12.97 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.9156, allocations: 8.5 kB / 1.344 GB, free: 12.96 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.9156, allocations: 0 / 1.344 GB, free: 12.96 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002551/0.9159, allocations: 177.9 kB / 1.344 GB, free: 12.82 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.042e-05/0.9159, allocations: 83.16 kB / 1.344 GB, free: 12.72 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.455e-05/0.9159, allocations: 2.141 kB / 1.344 GB, free: 12.72 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.92e-05/0.916, allocations: 10.72 kB / 1.344 GB, free: 12.72 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.033e-05/0.9161, allocations: 3 kB / 1.344 GB, free: 12.72 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.708e-06/0.9161, allocations: 1.5 kB / 1.344 GB, free: 12.72 MB / 1.061 GB Notification: Performance of sorting global known variables: time 2.751e-05/0.9161, allocations: 90.12 kB / 1.344 GB, free: 12.64 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.9161, allocations: 0 / 1.344 GB, free: 12.64 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.00023/0.9163, allocations: 8.031 kB / 1.344 GB, free: 12.64 MB / 1.061 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.0004171/0.9167, allocations: 0.7087 MB / 1.345 GB, free: 11.96 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002698/0.917, allocations: 50.8 kB / 1.345 GB, free: 11.95 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.917, allocations: 96 / 1.345 GB, free: 11.95 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001149/0.9171, allocations: 33.41 kB / 1.345 GB, free: 11.94 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002904/0.9174, allocations: 11.52 kB / 1.345 GB, free: 11.93 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004508/0.9179, allocations: 154.4 kB / 1.345 GB, free: 11.78 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.415e-05/0.918, allocations: 0.6771 MB / 1.346 GB, free: 11.09 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 2.992e-05/0.918, allocations: 5.594 kB / 1.346 GB, free: 11.08 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.048e-05/0.918, allocations: 13.3 kB / 1.346 GB, free: 11.07 MB / 1.061 GB Notification: Performance of SimCode: time 2.8e-07/0.918, allocations: 0 / 1.346 GB, free: 11.07 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01802/0.9361, allocations: 1.515 MB / 1.348 GB, free: 10.67 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.389/9.326, allocations: 14.95 kB / 1.348 GB, free: 10.66 MB / 1.061 GB " [Timeout remaining time 291] (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.PowerLinearized.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.PowerLinearized.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.PowerLinearized.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.PowerLinearized.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Math.Examples.PowerLinearized_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Math_Examples_PowerLinearized_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Math_Examples_PowerLinearized.fmu > Buildings_latest_Buildings.Utilities.Math.Examples.PowerLinearized.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.PowerLinearized_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_PowerLinearized.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.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: 16.143019134004135]