Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001376/0.001376, allocations: 105.9 kB / 16.45 MB, free: 6.453 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.001476/0.001476, allocations: 216.2 kB / 19.43 MB, free: 3.625 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.523/1.523, allocations: 230.6 MB / 252.8 MB, free: 8.961 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.192/3.192, allocations: 0.49 GB / 0.7916 GB, free: 33.32 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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.Examples.PowerLinearized,fileNamePrefix="Buildings_12_Buildings_Utilities_Math_Examples_PowerLinearized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.PowerLinearized,fileNamePrefix="Buildings_12_Buildings_Utilities_Math_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.002056/0.002056, allocations: 73.52 kB / 1.149 GB, free: 26.35 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.329/0.3311, allocations: 176.1 MB / 1.321 GB, free: 3.352 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.PowerLinearized): time 0.002932/0.334, allocations: 1.455 MB / 1.322 GB, free: 1.887 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0002814/0.3343, allocations: 95.75 kB / 1.322 GB, free: 1.793 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.978e-05/0.3343, allocations: 0 / 1.322 GB, free: 1.793 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 2.521e-05/0.3343, allocations: 3.938 kB / 1.322 GB, free: 1.789 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 4.639e-05/0.3344, allocations: 7.922 kB / 1.322 GB, free: 1.781 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001738/0.3345, allocations: 15.98 kB / 1.322 GB, free: 1.766 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 7.797e-05/0.3346, allocations: 23.92 kB / 1.322 GB, free: 1.742 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 7.765e-05/0.3347, allocations: 8 kB / 1.322 GB, free: 1.734 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 4.38e-05/0.3347, allocations: 11.92 kB / 1.322 GB, free: 1.723 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 3.795e-05/0.3348, allocations: 15.92 kB / 1.322 GB, free: 1.707 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.23e-05/0.3348, allocations: 0 / 1.322 GB, free: 1.707 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 5.78e-05/0.3349, allocations: 19.98 kB / 1.322 GB, free: 1.688 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.503e-05/0.3349, allocations: 4 kB / 1.322 GB, free: 1.684 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 2.468e-05/0.3349, allocations: 11.92 kB / 1.322 GB, free: 1.672 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.000116/0.335, allocations: 40.09 kB / 1.322 GB, free: 1.633 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.335, allocations: 0 / 1.322 GB, free: 1.633 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.102e-06/0.335, allocations: 4 kB / 1.322 GB, free: 1.629 MB / 1.014 GB Notification: Performance of Transformations before backend: time 4.949e-06/0.335, allocations: 0 / 1.322 GB, free: 1.629 MB / 1.014 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.000487/0.3355, allocations: 339.4 kB / 1.323 GB, free: 1.246 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.089e-05/0.3355, allocations: 15.98 kB / 1.323 GB, free: 1.23 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.965e-05/0.3356, allocations: 42.69 kB / 1.323 GB, free: 1.18 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001562/0.3357, allocations: 16.88 kB / 1.323 GB, free: 1.164 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001473/0.3359, allocations: 168.4 kB / 1.323 GB, free: 0.9609 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.689e-05/0.3359, allocations: 384 / 1.323 GB, free: 0.9609 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.106e-05/0.3359, allocations: 8.312 kB / 1.323 GB, free: 0.9531 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001952/0.3361, allocations: 54.23 kB / 1.323 GB, free: 0.8945 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.358e-06/0.3361, allocations: 3.938 kB / 1.323 GB, free: 0.8906 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.857e-06/0.3361, allocations: 0 / 1.323 GB, free: 0.8906 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.597e-06/0.3361, allocations: 0 / 1.323 GB, free: 0.8906 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002799/0.3364, allocations: 55.94 kB / 1.323 GB, free: 0.8359 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000412/0.3368, allocations: 253 kB / 1.323 GB, free: 0.5391 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002122/0.337, allocations: 66.34 kB / 1.323 GB, free: 476 kB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001109/0.3372, allocations: 28.91 kB / 1.323 GB, free: 444 kB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 1.599e-05/0.3372, allocations: 4 kB / 1.323 GB, free: 440 kB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.354e-05/0.3372, allocations: 30.56 kB / 1.324 GB, free: 400 kB / 1.014 GB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.3372, allocations: 0 / 1.324 GB, free: 400 kB / 1.014 GB Notification: Performance of matching and sorting (n=2): time 0.000432/0.3376, allocations: 109.6 kB / 1.324 GB, free: 284 kB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.933e-05/0.3377, allocations: 51.41 kB / 1.324 GB, free: 220 kB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001015/0.3378, allocations: 109.8 kB / 1.324 GB, free: 100 kB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 1.733e-05/0.3378, allocations: 25.7 kB / 1.324 GB, free: 68 kB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 6.591e-05/0.3379, allocations: 80.14 kB / 1.324 GB, free: 15.98 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.809e-05/0.3379, allocations: 15.88 kB / 1.324 GB, free: 15.97 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.773e-05/0.3379, allocations: 13.72 kB / 1.324 GB, free: 15.95 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.000149/0.3381, allocations: 315 kB / 1.324 GB, free: 15.63 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001151/0.3382, allocations: 23.97 kB / 1.324 GB, free: 15.61 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.891e-05/0.3383, allocations: 23.98 kB / 1.324 GB, free: 15.59 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002043/0.3385, allocations: 48.81 kB / 1.324 GB, free: 15.54 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.283e-06/0.3385, allocations: 11.98 kB / 1.324 GB, free: 15.52 MB / 1.029 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002538/0.3388, allocations: 77.66 kB / 1.324 GB, free: 15.44 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.258e-05/0.3388, allocations: 4 kB / 1.324 GB, free: 15.44 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.907e-06/0.3388, allocations: 0 / 1.324 GB, free: 15.44 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.097e-05/0.3388, allocations: 3.938 kB / 1.324 GB, free: 15.43 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001031/0.3389, allocations: 11.98 kB / 1.324 GB, free: 15.42 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.15e-06/0.3389, allocations: 0 / 1.324 GB, free: 15.42 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.17e-05/0.339, allocations: 16.02 kB / 1.324 GB, free: 15.41 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.971e-06/0.339, allocations: 0 / 1.324 GB, free: 15.41 MB / 1.029 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 8.106e-05/0.339, allocations: 109.8 kB / 1.325 GB, free: 15.29 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.832e-05/0.3391, allocations: 7.953 kB / 1.325 GB, free: 15.28 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.135e-05/0.3391, allocations: 7.531 kB / 1.325 GB, free: 15.27 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.3391, allocations: 0 / 1.325 GB, free: 15.27 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/0.3391, allocations: 3.984 kB / 1.325 GB, free: 15.26 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.024e-06/0.3391, allocations: 0 / 1.325 GB, free: 15.26 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001938/0.3393, allocations: 173.8 kB / 1.325 GB, free: 15.04 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.3393, allocations: 8 kB / 1.325 GB, free: 15.04 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.131e-05/0.3394, allocations: 11.98 kB / 1.325 GB, free: 15.02 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.41e-06/0.3394, allocations: 3.984 kB / 1.325 GB, free: 15.02 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.454e-06/0.3394, allocations: 0 / 1.325 GB, free: 15.02 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.3394, allocations: 3.938 kB / 1.325 GB, free: 15.02 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.3394, allocations: 0 / 1.325 GB, free: 15.02 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003184/0.3397, allocations: 187.4 kB / 1.325 GB, free: 14.82 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 4.903e-05/0.3398, allocations: 77.11 kB / 1.325 GB, free: 14.72 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.294e-05/0.3398, allocations: 4 kB / 1.325 GB, free: 14.72 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.429e-05/0.3399, allocations: 7.984 kB / 1.325 GB, free: 14.71 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.307e-05/0.3399, allocations: 0 / 1.325 GB, free: 14.71 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.988e-06/0.3399, allocations: 0 / 1.325 GB, free: 14.71 MB / 1.029 GB Notification: Performance of sorting global known variables: time 5.42e-05/0.34, allocations: 87.28 kB / 1.325 GB, free: 14.62 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.34, allocations: 0 / 1.325 GB, free: 14.62 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002184/0.3402, allocations: 8.031 kB / 1.325 GB, free: 14.62 MB / 1.029 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.0007559/0.3409, allocations: 0.7085 MB / 1.326 GB, free: 13.88 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002787/0.3412, allocations: 55.91 kB / 1.326 GB, free: 13.83 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 5.59e-06/0.3412, allocations: 4 kB / 1.326 GB, free: 13.82 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001565/0.3414, allocations: 23.97 kB / 1.326 GB, free: 13.8 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002958/0.3417, allocations: 12.52 kB / 1.326 GB, free: 13.79 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005197/0.3422, allocations: 155.1 kB / 1.326 GB, free: 13.6 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000472/0.3427, allocations: 0.6768 MB / 1.327 GB, free: 12.9 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 2.763e-05/0.3427, allocations: 0 / 1.327 GB, free: 12.9 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.563e-05/0.3428, allocations: 15.44 kB / 1.327 GB, free: 12.88 MB / 1.029 GB Notification: Performance of SimCode: time 3.81e-07/0.3428, allocations: 0 / 1.327 GB, free: 12.88 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02822/0.371, allocations: 1.468 MB / 1.328 GB, free: 11.5 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.117/8.488, allocations: 5.828 kB / 1.328 GB, free: 11.5 MB / 1.029 GB " [Timeout remaining time 291] (rm -f Buildings_12_Buildings.Utilities.Math.Examples.PowerLinearized.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Examples.PowerLinearized.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Examples.PowerLinearized.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Examples.PowerLinearized.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Utilities.Math.Examples.PowerLinearized_res.mat --tempDir=temp_Buildings_12_Buildings_Utilities_Math_Examples_PowerLinearized_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Utilities_Math_Examples_PowerLinearized.fmu > Buildings_12_Buildings.Utilities.Math.Examples.PowerLinearized.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Examples.PowerLinearized_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Examples_PowerLinearized.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 15.139086488168687]