Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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: "" <> buildModelFMU(Buildings.Electrical.DC.Lines.Examples.DCLine,fileNamePrefix="Buildings_latest_Buildings_Electrical_DC_Lines_Examples_DCLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.DC.Lines.Examples.DCLine,fileNamePrefix="Buildings_latest_Buildings_Electrical_DC_Lines_Examples_DCLine",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009194/0.0009194, allocations: 98.27 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.006083/0.006083, allocations: 169.2 kB / 16.26 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.291/1.291, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/Experimental/DHC/UsersGuide/package.mo:2:1-389:15:writable] Warning: UsersGuide was referenced in the package.order file, but was not found in package.mo, UsersGuide/package.mo or UsersGuide.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.478/2.478, allocations: 443.4 MB / 0.7176 GB, free: 1.402 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003056/0.0003058, allocations: 11.62 kB / 0.8797 GB, free: 41.59 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2463/0.2467, allocations: 155.2 MB / 1.031 GB, free: 4.309 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLine): time 0.006277/0.253, allocations: 5.893 MB / 1.037 GB, free: 14.39 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.005393/0.2584, allocations: 4.449 MB / 1.041 GB, free: 9.926 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003032/0.2587, allocations: 19.88 kB / 1.041 GB, free: 9.906 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0004049/0.2591, allocations: 150.9 kB / 1.042 GB, free: 9.758 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.001447/0.2606, allocations: 0.7106 MB / 1.042 GB, free: 9.047 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005787/0.2611, allocations: 290.6 kB / 1.042 GB, free: 8.766 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.00159/0.2627, allocations: 1.437 MB / 1.044 GB, free: 7.324 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006401/0.2634, allocations: 0.5416 MB / 1.044 GB, free: 6.754 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004642/0.2639, allocations: 398.3 kB / 1.045 GB, free: 6.363 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005887/0.2645, allocations: 482 kB / 1.045 GB, free: 5.891 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 6.607e-05/0.2645, allocations: 32 kB / 1.045 GB, free: 5.859 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004704/0.265, allocations: 299.4 kB / 1.046 GB, free: 5.566 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0001853/0.2652, allocations: 215.2 kB / 1.046 GB, free: 5.355 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0003312/0.2656, allocations: 383.7 kB / 1.046 GB, free: 4.973 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0009668/0.2665, allocations: 1.031 MB / 1.047 GB, free: 3.938 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.598e-06/0.2665, allocations: 4 kB / 1.047 GB, free: 3.934 MB / 0.795 GB Notification: Performance of FrontEnd: time 2.224e-06/0.2666, allocations: 0 / 1.047 GB, free: 3.934 MB / 0.795 GB Notification: Performance of Transformations before backend: time 9.328e-06/0.2666, allocations: 0 / 1.047 GB, free: 3.934 MB / 0.795 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 142 * Number of variables: 142 Notification: Performance of Generate backend data structure: time 0.001555/0.2681, allocations: 0.97 MB / 1.048 GB, free: 2.914 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.791e-05/0.2682, allocations: 8.031 kB / 1.048 GB, free: 2.906 MB / 0.795 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001182/0.2683, allocations: 98.69 kB / 1.048 GB, free: 2.801 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003264/0.2716, allocations: 0.6592 MB / 1.049 GB, free: 2.141 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007134/0.2723, allocations: 0.5385 MB / 1.049 GB, free: 1.562 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.351e-05/0.2723, allocations: 41.67 kB / 1.049 GB, free: 1.523 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.323e-05/0.2724, allocations: 51.94 kB / 1.049 GB, free: 1.473 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001956/0.2744, allocations: 1.026 MB / 1.05 GB, free: 412 kB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.619e-05/0.2744, allocations: 0 / 1.05 GB, free: 412 kB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.066e-05/0.2745, allocations: 27.98 kB / 1.05 GB, free: 384 kB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.152e-05/0.2746, allocations: 45.28 kB / 1.051 GB, free: 340 kB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002387/0.277, allocations: 1.016 MB / 1.052 GB, free: 15.32 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004148/0.2811, allocations: 3.521 MB / 1.055 GB, free: 11.49 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001476/0.2826, allocations: 0.5062 MB / 1.055 GB, free: 10.97 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005987/0.2832, allocations: 248.7 kB / 1.056 GB, free: 10.73 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 3.156e-05/0.2833, allocations: 8.516 kB / 1.056 GB, free: 10.72 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.684e-05/0.2833, allocations: 42.5 kB / 1.056 GB, free: 10.67 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=31): time 1.954e-06/0.2833, allocations: 0 / 1.056 GB, free: 10.67 MB / 0.8106 GB Notification: Performance of matching and sorting (n=43): time 0.007069/0.2904, allocations: 2.24 MB / 1.058 GB, free: 8.383 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.878e-05/0.2904, allocations: 55.41 kB / 1.058 GB, free: 8.316 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000697/0.2912, allocations: 0.5704 MB / 1.059 GB, free: 7.738 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 4.041e-05/0.2912, allocations: 29.7 kB / 1.059 GB, free: 7.703 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002506/0.2915, allocations: 360.2 kB / 1.059 GB, free: 7.348 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001268/0.2916, allocations: 149.8 kB / 1.059 GB, free: 7.199 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.599e-05/0.2917, allocations: 37.7 kB / 1.059 GB, free: 7.156 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001557/0.2918, allocations: 378.7 kB / 1.059 GB, free: 6.777 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007257/0.2926, allocations: 276.9 kB / 1.06 GB, free: 6.508 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007604/0.2933, allocations: 385.7 kB / 1.06 GB, free: 6.082 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001455/0.2948, allocations: 0.6772 MB / 1.061 GB, free: 5.363 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.2948, allocations: 3.938 kB / 1.061 GB, free: 5.359 MB / 0.8106 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.002499/0.2973, allocations: 0.974 MB / 1.062 GB, free: 4.359 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001258/0.2975, allocations: 190.3 kB / 1.062 GB, free: 4.129 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.827e-06/0.2975, allocations: 4 kB / 1.062 GB, free: 4.125 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00118/0.2987, allocations: 272.9 kB / 1.062 GB, free: 3.84 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006235/0.2993, allocations: 131.8 kB / 1.062 GB, free: 3.711 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007463/0.3068, allocations: 8.479 MB / 1.071 GB, free: 10.44 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00069/0.3075, allocations: 59.83 kB / 1.071 GB, free: 10.38 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.965e-05/0.3075, allocations: 16 kB / 1.071 GB, free: 10.36 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 7.053e-06/0.3075, allocations: 4.062 kB / 1.071 GB, free: 10.36 MB / 0.8262 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002324/0.3099, allocations: 1.085 MB / 1.072 GB, free: 9.199 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.007e-06/0.3099, allocations: 4 kB / 1.072 GB, free: 9.195 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007536/0.3107, allocations: 225.2 kB / 1.072 GB, free: 8.957 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006768/0.3113, allocations: 135.8 kB / 1.072 GB, free: 8.824 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005761/0.3171, allocations: 8.16 MB / 1.08 GB, free: 15.86 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005998/0.3177, allocations: 51.95 kB / 1.08 GB, free: 15.81 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.57e-05/0.3178, allocations: 20 kB / 1.08 GB, free: 15.79 MB / 0.8419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (47): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,2), (1,2), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0003757/0.3182, allocations: 325.1 kB / 1.08 GB, free: 15.46 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.874e-05/0.3183, allocations: 67.16 kB / 1.08 GB, free: 15.4 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001575/0.3184, allocations: 78.38 kB / 1.081 GB, free: 15.32 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.878e-06/0.3184, allocations: 4 kB / 1.081 GB, free: 15.31 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.606e-06/0.3185, allocations: 4 kB / 1.081 GB, free: 15.31 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.3185, allocations: 0 / 1.081 GB, free: 15.31 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007308/0.3192, allocations: 0.6572 MB / 1.081 GB, free: 14.6 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.3192, allocations: 0 / 1.081 GB, free: 14.6 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005029/0.3197, allocations: 99.84 kB / 1.081 GB, free: 14.5 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009458/0.3207, allocations: 260.9 kB / 1.082 GB, free: 14.23 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.024e-05/0.3207, allocations: 8 kB / 1.082 GB, free: 14.22 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00639/0.3271, allocations: 8.431 MB / 1.09 GB, free: 4.996 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.3271, allocations: 0 / 1.09 GB, free: 4.996 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002368/0.3295, allocations: 0.9639 MB / 1.091 GB, free: 3.996 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000233/0.3298, allocations: 184.2 kB / 1.091 GB, free: 3.797 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.065e-05/0.3298, allocations: 15.88 kB / 1.091 GB, free: 3.781 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000501/0.3303, allocations: 51.95 kB / 1.091 GB, free: 3.73 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001168/0.3305, allocations: 43.88 kB / 1.091 GB, free: 3.688 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.914e-05/0.3305, allocations: 11.98 kB / 1.091 GB, free: 3.676 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0004321/0.3309, allocations: 403.1 kB / 1.091 GB, free: 3.289 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.3e-07/0.331, allocations: 0 / 1.091 GB, free: 3.289 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.000984/0.3319, allocations: 300 kB / 1.092 GB, free: 2.996 MB / 0.8419 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 (31): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,2), (1,2), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002462/0.3344, allocations: 1.517 MB / 1.093 GB, free: 1.434 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.003659/0.3381, allocations: 2.422 MB / 1.096 GB, free: 14.85 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/0.3381, allocations: 0 / 1.096 GB, free: 14.85 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.00134/0.3394, allocations: 1.023 MB / 1.097 GB, free: 13.75 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009759/0.3404, allocations: 211.4 kB / 1.097 GB, free: 13.55 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01082/0.3513, allocations: 6.792 MB / 1.103 GB, free: 6.551 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000592/0.3519, allocations: 0.9859 MB / 1.104 GB, free: 5.539 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0006212/0.3525, allocations: 153.4 kB / 1.104 GB, free: 5.387 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003164/0.3528, allocations: 243.3 kB / 1.105 GB, free: 5.148 MB / 0.8575 GB Notification: Performance of SimCode: time 1.393e-06/0.3528, allocations: 0 / 1.105 GB, free: 5.148 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03425/0.3871, allocations: 18.7 MB / 1.123 GB, free: 2.762 MB / 0.8731 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001772/0.3873, allocations: 229.1 kB / 1.123 GB, free: 2.508 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.274/2.661, allocations: 0 / 1.123 GB, free: 2.508 MB / 0.8731 GB (rm -f Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe ; mkfifo Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe >> ../files/Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLine.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLine_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_DC_Lines_Examples_DCLine_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_DC_Lines_Examples_DCLine.fmu > Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLine_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_DC_Lines_Examples_DCLine.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches