Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001376/0.001376, allocations: 108.3 kB / 17.54 MB, free: 4.781 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.001472/0.001472, allocations: 190.6 kB / 20.71 MB, free: 1.625 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.285/1.285, allocations: 225.6 MB / 249.3 MB, free: 3.332 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.457/2.457, allocations: 476.7 MB / 0.7628 GB, free: 15.14 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.PowerLinearized,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Examples_PowerLinearized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.PowerLinearized,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Examples_PowerLinearized",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001762/0.001762, allocations: 71.88 kB / 1.107 GB, free: 5.152 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7753/0.7771, allocations: 168.7 MB / 1.271 GB, free: 7.695 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.PowerLinearized): time 0.002205/0.7793, allocations: 1.467 MB / 1.273 GB, free: 6.699 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0002337/0.7795, allocations: 95.88 kB / 1.273 GB, free: 6.637 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.196e-05/0.7795, allocations: 0.75 kB / 1.273 GB, free: 6.637 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.807e-05/0.7796, allocations: 5.469 kB / 1.273 GB, free: 6.633 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 3.486e-05/0.7796, allocations: 12.62 kB / 1.273 GB, free: 6.621 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001731/0.7798, allocations: 13.41 kB / 1.273 GB, free: 6.617 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 7.206e-05/0.7798, allocations: 27.8 kB / 1.273 GB, free: 6.605 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 8.099e-05/0.7799, allocations: 3.641 kB / 1.273 GB, free: 6.605 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.114e-05/0.78, allocations: 12.92 kB / 1.273 GB, free: 6.598 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.002e-05/0.78, allocations: 10.47 kB / 1.273 GB, free: 6.594 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.345e-05/0.78, allocations: 1.906 kB / 1.273 GB, free: 6.594 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 5.645e-05/0.7801, allocations: 13.34 kB / 1.273 GB, free: 6.594 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.48e-05/0.7801, allocations: 14.73 kB / 1.273 GB, free: 6.582 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 2.283e-05/0.7801, allocations: 10.7 kB / 1.273 GB, free: 6.574 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001046/0.7802, allocations: 32.55 kB / 1.273 GB, free: 6.562 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.7802, allocations: 4 kB / 1.273 GB, free: 6.559 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.283e-06/0.7802, allocations: 0.7188 kB / 1.273 GB, free: 6.559 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.749e-06/0.7802, allocations: 0 / 1.273 GB, free: 6.559 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.0003313/0.7806, allocations: 343.3 kB / 1.273 GB, free: 6.195 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.552e-05/0.7806, allocations: 9.312 kB / 1.273 GB, free: 6.195 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.683e-05/0.7806, allocations: 32.05 kB / 1.273 GB, free: 6.156 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001433/0.7808, allocations: 13.2 kB / 1.273 GB, free: 6.156 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.085e-05/0.7808, allocations: 175.1 kB / 1.274 GB, free: 5.949 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.861e-05/0.7808, allocations: 5.219 kB / 1.274 GB, free: 5.945 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.616e-06/0.7809, allocations: 1.875 kB / 1.274 GB, free: 5.945 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001734/0.781, allocations: 60.16 kB / 1.274 GB, free: 5.906 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.066e-06/0.781, allocations: 3.938 kB / 1.274 GB, free: 5.902 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.787e-06/0.781, allocations: 0.875 kB / 1.274 GB, free: 5.902 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.938e-06/0.7811, allocations: 0 / 1.274 GB, free: 5.902 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002143/0.7813, allocations: 48.05 kB / 1.274 GB, free: 5.895 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002694/0.7815, allocations: 265.5 kB / 1.274 GB, free: 5.613 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001591/0.7817, allocations: 51.94 kB / 1.274 GB, free: 5.582 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001026/0.7818, allocations: 28.81 kB / 1.274 GB, free: 5.57 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.355e-05/0.7818, allocations: 4.844 kB / 1.274 GB, free: 5.566 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.259e-05/0.7818, allocations: 32.27 kB / 1.274 GB, free: 5.527 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=2): time 9.52e-07/0.7818, allocations: 0 / 1.274 GB, free: 5.527 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2): time 0.0003704/0.7822, allocations: 103.9 kB / 1.274 GB, free: 5.48 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.022e-05/0.7822, allocations: 52.28 kB / 1.274 GB, free: 5.418 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.991e-05/0.7823, allocations: 109.9 kB / 1.274 GB, free: 5.312 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 6.622e-06/0.7823, allocations: 25.7 kB / 1.274 GB, free: 5.281 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 2.281e-05/0.7823, allocations: 89.75 kB / 1.274 GB, free: 5.191 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.361e-05/0.7823, allocations: 4.828 kB / 1.274 GB, free: 5.188 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.742e-05/0.7823, allocations: 13.45 kB / 1.274 GB, free: 5.172 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.448e-05/0.7824, allocations: 318.4 kB / 1.275 GB, free: 4.855 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.85e-05/0.7825, allocations: 21.94 kB / 1.275 GB, free: 4.852 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.891e-05/0.7826, allocations: 28.2 kB / 1.275 GB, free: 4.844 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001773/0.7827, allocations: 56.09 kB / 1.275 GB, free: 4.824 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.7827, allocations: 3.938 kB / 1.275 GB, free: 4.82 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002189/0.783, allocations: 89.64 kB / 1.275 GB, free: 4.77 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.319e-05/0.783, allocations: 8.438 kB / 1.275 GB, free: 4.77 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.707e-06/0.783, allocations: 1.062 kB / 1.275 GB, free: 4.77 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.225e-05/0.783, allocations: 256 / 1.275 GB, free: 4.77 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.721e-05/0.7831, allocations: 11.89 kB / 1.275 GB, free: 4.766 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.833e-06/0.7831, allocations: 10.25 kB / 1.275 GB, free: 4.758 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.814e-05/0.7831, allocations: 6.688 kB / 1.275 GB, free: 4.758 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.211e-06/0.7832, allocations: 3.453 kB / 1.275 GB, free: 4.758 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 4.309e-05/0.7832, allocations: 119.9 kB / 1.275 GB, free: 4.633 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.37e-05/0.7832, allocations: 1.812 kB / 1.275 GB, free: 4.633 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.243e-05/0.7832, allocations: 4.469 kB / 1.275 GB, free: 4.625 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.092e-06/0.7832, allocations: 0 / 1.275 GB, free: 4.625 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.7832, allocations: 1.062 kB / 1.275 GB, free: 4.625 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.594e-06/0.7833, allocations: 1.219 kB / 1.275 GB, free: 4.625 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001045/0.7834, allocations: 167.4 kB / 1.275 GB, free: 4.426 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.7834, allocations: 1.656 kB / 1.275 GB, free: 4.426 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.152e-05/0.7834, allocations: 10.42 kB / 1.275 GB, free: 4.426 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.212e-06/0.7834, allocations: 4.844 kB / 1.275 GB, free: 4.422 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.755e-06/0.7834, allocations: 1.094 kB / 1.275 GB, free: 4.422 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.81e-07/0.7834, allocations: 0 / 1.275 GB, free: 4.422 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.7834, allocations: 0 / 1.275 GB, free: 4.422 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002327/0.7837, allocations: 182.1 kB / 1.275 GB, free: 4.273 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.519e-05/0.7837, allocations: 78.7 kB / 1.276 GB, free: 4.18 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.159e-05/0.7837, allocations: 5.172 kB / 1.276 GB, free: 4.176 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.91e-05/0.7838, allocations: 12.55 kB / 1.276 GB, free: 4.172 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.681e-05/0.7838, allocations: 2.656 kB / 1.276 GB, free: 4.172 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.758e-06/0.7838, allocations: 1.094 kB / 1.276 GB, free: 4.172 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 2.174e-05/0.7838, allocations: 82.02 kB / 1.276 GB, free: 4.098 MB / 0.9981 GB Notification: Performance of sort global known variables: time 5.1e-08/0.7838, allocations: 0 / 1.276 GB, free: 4.098 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002037/0.784, allocations: 9 kB / 1.276 GB, free: 4.094 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 0.0003549/0.7844, allocations: 0.7135 MB / 1.276 GB, free: 3.418 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002301/0.7846, allocations: 55.16 kB / 1.276 GB, free: 3.406 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.7846, allocations: 0 / 1.276 GB, free: 3.406 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 9.929e-05/0.7847, allocations: 24.81 kB / 1.276 GB, free: 3.402 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002299/0.785, allocations: 11.86 kB / 1.276 GB, free: 3.398 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003707/0.7853, allocations: 150.8 kB / 1.277 GB, free: 3.246 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.034e-05/0.7854, allocations: 0.6888 MB / 1.277 GB, free: 2.539 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 2.46e-05/0.7854, allocations: 0.9688 kB / 1.277 GB, free: 2.539 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.278e-05/0.7855, allocations: 10.38 kB / 1.277 GB, free: 2.531 MB / 0.9981 GB Notification: Performance of SimCode: time 3.01e-07/0.7855, allocations: 0 / 1.277 GB, free: 2.531 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02127/0.8067, allocations: 1.44 MB / 1.279 GB, free: 18.17 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.003/7.81, allocations: 6.422 kB / 1.279 GB, free: 18.17 MB / 1.014 GB " [Timeout remaining time 292] (rm -f Buildings_11_Buildings.Utilities.Math.Examples.PowerLinearized.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Examples.PowerLinearized.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Examples.PowerLinearized.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Examples.PowerLinearized.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Math.Examples.PowerLinearized_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Math_Examples_PowerLinearized_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Utilities_Math_Examples_PowerLinearized.fmu > Buildings_11_Buildings.Utilities.Math.Examples.PowerLinearized.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Examples.PowerLinearized_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Examples_PowerLinearized.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 13.016321746999893]