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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001486/0.001486, allocations: 115.5 kB / 17.08 MB, free: 5.988 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001526/0.001527, allocations: 194.2 kB / 20.03 MB, free: 3.059 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.414/1.414, allocations: 222.9 MB / 245.7 MB, free: 4.223 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.956/2.956, allocations: 489.3 MB / 0.7687 GB, free: 3.816 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.PowerLinearized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|powerLinearized.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.PowerLinearized") translateModel(Buildings.Utilities.Math.Examples.PowerLinearized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|powerLinearized.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.PowerLinearized") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001984/0.001984, allocations: 67.89 kB / 1.103 GB, free: 0.832 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9118/0.9138, allocations: 163.8 MB / 1.263 GB, free: 8.012 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.PowerLinearized): time 0.002619/0.9165, allocations: 1.432 MB / 1.264 GB, free: 7.031 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0002711/0.9168, allocations: 101.3 kB / 1.264 GB, free: 6.965 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.063e-05/0.9168, allocations: 4.812 kB / 1.264 GB, free: 6.961 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.526e-05/0.9168, allocations: 0 / 1.264 GB, free: 6.961 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 4.687e-05/0.9169, allocations: 8.75 kB / 1.264 GB, free: 6.953 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001853/0.9171, allocations: 14.72 kB / 1.264 GB, free: 6.949 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 7.031e-05/0.9172, allocations: 24.64 kB / 1.264 GB, free: 6.938 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.585e-05/0.9173, allocations: 8.812 kB / 1.264 GB, free: 6.934 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.321e-05/0.9173, allocations: 10.02 kB / 1.264 GB, free: 6.93 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.051e-05/0.9174, allocations: 14.02 kB / 1.264 GB, free: 6.922 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.334e-05/0.9174, allocations: 2.438 kB / 1.264 GB, free: 6.922 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 6.209e-05/0.9175, allocations: 17.09 kB / 1.264 GB, free: 6.918 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.615e-05/0.9175, allocations: 6.547 kB / 1.264 GB, free: 6.914 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 2.935e-05/0.9175, allocations: 10.5 kB / 1.264 GB, free: 6.906 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001114/0.9176, allocations: 38.44 kB / 1.264 GB, free: 6.891 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.9176, allocations: 1.406 kB / 1.264 GB, free: 6.891 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.643e-06/0.9176, allocations: 0 / 1.264 GB, free: 6.891 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.109e-06/0.9177, allocations: 0.8125 kB / 1.264 GB, free: 6.891 MB / 0.9981 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.0003844/0.918, allocations: 345 kB / 1.265 GB, free: 6.527 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.839e-05/0.9181, allocations: 9.5 kB / 1.265 GB, free: 6.527 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000159/0.9182, allocations: 13.45 kB / 1.265 GB, free: 6.527 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.179e-05/0.9183, allocations: 174.5 kB / 1.265 GB, free: 6.32 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.932e-05/0.9184, allocations: 6.672 kB / 1.265 GB, free: 6.316 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.269e-05/0.9184, allocations: 1.25 kB / 1.265 GB, free: 6.316 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001893/0.9186, allocations: 59.64 kB / 1.265 GB, free: 6.277 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.05e-05/0.9186, allocations: 4.984 kB / 1.265 GB, free: 6.273 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.019e-05/0.9186, allocations: 3.938 kB / 1.265 GB, free: 6.27 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.877e-06/0.9186, allocations: 0.7188 kB / 1.265 GB, free: 6.27 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002222/0.9189, allocations: 52.38 kB / 1.265 GB, free: 6.258 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003294/0.9192, allocations: 261.1 kB / 1.265 GB, free: 5.98 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001692/0.9194, allocations: 55.41 kB / 1.265 GB, free: 5.945 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001095/0.9195, allocations: 29.33 kB / 1.265 GB, free: 5.934 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.839e-05/0.9195, allocations: 4.703 kB / 1.265 GB, free: 5.93 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.362e-05/0.9195, allocations: 35.94 kB / 1.265 GB, free: 5.887 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=2): time 8.82e-07/0.9195, allocations: 0 / 1.265 GB, free: 5.887 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2): time 0.0004291/0.92, allocations: 100.7 kB / 1.265 GB, free: 5.844 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.137e-05/0.92, allocations: 52.95 kB / 1.265 GB, free: 5.781 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.395e-05/0.9201, allocations: 107.9 kB / 1.265 GB, free: 5.676 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 7.874e-06/0.9201, allocations: 26.36 kB / 1.266 GB, free: 5.645 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 2.766e-05/0.9201, allocations: 90.03 kB / 1.266 GB, free: 5.555 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.649e-05/0.9201, allocations: 5.359 kB / 1.266 GB, free: 5.551 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.048e-05/0.9202, allocations: 16.8 kB / 1.266 GB, free: 5.531 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.062e-05/0.9202, allocations: 312.9 kB / 1.266 GB, free: 5.219 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001119/0.9204, allocations: 23.81 kB / 1.266 GB, free: 5.215 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001014/0.9205, allocations: 28.53 kB / 1.266 GB, free: 5.207 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002055/0.9207, allocations: 47.19 kB / 1.266 GB, free: 5.195 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.9207, allocations: 0 / 1.266 GB, free: 5.195 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002458/0.9209, allocations: 94.39 kB / 1.266 GB, free: 5.141 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.402e-05/0.921, allocations: 5.406 kB / 1.266 GB, free: 5.141 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.921, allocations: 0.5312 kB / 1.266 GB, free: 5.141 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.48e-05/0.921, allocations: 1.453 kB / 1.266 GB, free: 5.141 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001064/0.9211, allocations: 10.59 kB / 1.266 GB, free: 5.141 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.548e-06/0.9211, allocations: 0 / 1.266 GB, free: 5.141 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.262e-05/0.9212, allocations: 8.5 kB / 1.266 GB, free: 5.141 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.551e-06/0.9212, allocations: 0.6562 kB / 1.266 GB, free: 5.141 MB / 0.9981 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.007e-05/0.9212, allocations: 124.2 kB / 1.266 GB, free: 5.016 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.404e-05/0.9213, allocations: 1.906 kB / 1.266 GB, free: 5.016 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.75e-05/0.9213, allocations: 8.734 kB / 1.266 GB, free: 5.004 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.9213, allocations: 1.109 kB / 1.266 GB, free: 5.004 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/0.9213, allocations: 0.5938 kB / 1.266 GB, free: 5.004 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.9213, allocations: 1.25 kB / 1.266 GB, free: 5.004 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001334/0.9215, allocations: 168 kB / 1.266 GB, free: 4.805 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.9215, allocations: 0.8438 kB / 1.266 GB, free: 4.805 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.071e-05/0.9216, allocations: 10.83 kB / 1.266 GB, free: 4.805 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.235e-06/0.9216, allocations: 4.719 kB / 1.266 GB, free: 4.801 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.976e-06/0.9216, allocations: 1.359 kB / 1.266 GB, free: 4.801 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.9216, allocations: 256 / 1.266 GB, free: 4.801 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.527e-06/0.9216, allocations: 1.688 kB / 1.266 GB, free: 4.801 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000267/0.9219, allocations: 184.9 kB / 1.267 GB, free: 4.648 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.79e-05/0.9219, allocations: 82.44 kB / 1.267 GB, free: 4.551 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.475e-05/0.9219, allocations: 5.938 kB / 1.267 GB, free: 4.547 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.095e-05/0.922, allocations: 7.656 kB / 1.267 GB, free: 4.547 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.256e-05/0.922, allocations: 11.05 kB / 1.267 GB, free: 4.539 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.669e-06/0.9221, allocations: 0.75 kB / 1.267 GB, free: 4.539 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 2.996e-05/0.9221, allocations: 85.95 kB / 1.267 GB, free: 4.461 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1e-07/0.9221, allocations: 0 / 1.267 GB, free: 4.461 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002119/0.9223, allocations: 4.938 kB / 1.267 GB, free: 4.461 MB / 0.9981 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 9.067e-05/0.9224, allocations: 100.2 kB / 1.267 GB, free: 4.371 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.000279/0.9227, allocations: 55.22 kB / 1.267 GB, free: 4.359 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.9227, allocations: 0 / 1.267 GB, free: 4.359 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001155/0.9228, allocations: 25.95 kB / 1.267 GB, free: 4.355 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002796/0.9231, allocations: 6.531 kB / 1.267 GB, free: 4.352 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000322/0.9234, allocations: 152.2 kB / 1.267 GB, free: 4.203 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001055/0.9236, allocations: 0.678 MB / 1.268 GB, free: 3.508 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.152e-05/0.9236, allocations: 9.062 kB / 1.268 GB, free: 3.5 MB / 0.9981 GB Notification: Performance of SimCode: time 2.9e-07/0.9236, allocations: 0 / 1.268 GB, free: 3.5 MB / 0.9981 GB Notification: Performance of Templates: time 0.002412/0.926, allocations: 0.6264 MB / 1.268 GB, free: 3.469 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.PowerLinearized.makefile [Timeout 300] (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 & ./Buildings_latest_Buildings.Utilities.Math.Examples.PowerLinearized -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.PowerLinearized.pipe 2>&1) [Timeout 800] 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_2/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: 10.844067706028]