Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC",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.005853/0.005853, allocations: 101.5 kB / 15.73 MB, free: 6.035 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.001351/0.001351, allocations: 188.6 kB / 16.67 MB, free: 5.969 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.284/1.284, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.553/2.553, allocations: 461.9 MB / 0.7348 GB, free: 14.6 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001324/0.001324, allocations: 64.27 kB / 1.054 GB, free: 7.707 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2804/0.2817, allocations: 157.4 MB / 1.207 GB, free: 10.19 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC): time 0.01202/0.2938, allocations: 10.02 MB / 1.217 GB, free: 128 kB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.005152/0.2989, allocations: 3.045 MB / 1.22 GB, free: 13.07 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000768/0.2997, allocations: 35.88 kB / 1.22 GB, free: 13.04 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001884/0.3016, allocations: 0.6865 MB / 1.221 GB, free: 12.35 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001627/0.3033, allocations: 0.7 MB / 1.221 GB, free: 11.64 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001469/0.3048, allocations: 0.6315 MB / 1.222 GB, free: 11.01 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.003117/0.3079, allocations: 2.734 MB / 1.225 GB, free: 8.27 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002969/0.3109, allocations: 2.523 MB / 1.227 GB, free: 5.707 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0017/0.3126, allocations: 1.133 MB / 1.228 GB, free: 4.57 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002125/0.3147, allocations: 1.39 MB / 1.23 GB, free: 3.176 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.000552/0.3153, allocations: 216 kB / 1.23 GB, free: 2.965 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001212/0.3165, allocations: 491.3 kB / 1.23 GB, free: 2.484 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.001292/0.3178, allocations: 0.9863 MB / 1.231 GB, free: 1.496 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.001684/0.3195, allocations: 1.015 MB / 1.232 GB, free: 488 kB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.003477/0.323, allocations: 3.4 MB / 1.236 GB, free: 13.07 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.94e-06/0.323, allocations: 0 / 1.236 GB, free: 13.07 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.372e-06/0.323, allocations: 0 / 1.236 GB, free: 13.07 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 9.957e-05/0.3231, allocations: 4 kB / 1.236 GB, free: 13.06 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: 419 * Number of variables: 419 Notification: Performance of Generate backend data structure: time 0.004677/0.3278, allocations: 1.956 MB / 1.238 GB, free: 11.05 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.101e-05/0.3278, allocations: 8.625 kB / 1.238 GB, free: 11.04 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003961/0.3282, allocations: 244.7 kB / 1.238 GB, free: 10.79 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005578/0.3338, allocations: 0.8882 MB / 1.239 GB, free: 9.902 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002408/0.3363, allocations: 1.168 MB / 1.24 GB, free: 8.688 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.284e-05/0.3363, allocations: 111.3 kB / 1.24 GB, free: 8.578 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002836/0.3366, allocations: 148.3 kB / 1.24 GB, free: 8.434 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004435/0.3411, allocations: 3.009 MB / 1.243 GB, free: 5.324 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.89e-05/0.3411, allocations: 11.94 kB / 1.243 GB, free: 5.312 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001906/0.3413, allocations: 63.97 kB / 1.243 GB, free: 5.25 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002063/0.3415, allocations: 179 kB / 1.243 GB, free: 5.074 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00405/0.3456, allocations: 2.6 MB / 1.246 GB, free: 2.469 MB / 0.9981 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5566/0.9022, allocations: 13.47 MB / 1.259 GB, free: 28.89 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001678/0.9039, allocations: 1.302 MB / 1.26 GB, free: 28.85 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001155/0.9051, allocations: 1.053 MB / 1.261 GB, free: 28.84 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 6.377e-05/0.9052, allocations: 8.281 kB / 1.261 GB, free: 28.83 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.892e-05/0.9052, allocations: 41.77 kB / 1.261 GB, free: 28.79 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=82): time 2.565e-06/0.9052, allocations: 0 / 1.261 GB, free: 28.79 MB / 0.9981 GB Notification: Performance of matching and sorting (n=139): time 0.07447/0.9797, allocations: 19.38 MB / 1.28 GB, free: 27.06 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.921e-05/0.9798, allocations: 67.11 kB / 1.28 GB, free: 26.99 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001199/0.981, allocations: 0.92 MB / 1.281 GB, free: 26.85 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001642/0.9811, allocations: 49.45 kB / 1.281 GB, free: 26.82 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003866/0.9815, allocations: 0.7274 MB / 1.282 GB, free: 26.41 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003704/0.9819, allocations: 493.4 kB / 1.282 GB, free: 26.1 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005357/0.9825, allocations: 288.4 kB / 1.283 GB, free: 26.07 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 8.876e-05/0.9825, allocations: 359.2 kB / 1.283 GB, free: 25.76 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001733/0.9843, allocations: 1.334 MB / 1.284 GB, free: 25.76 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001935/0.9862, allocations: 1.66 MB / 1.286 GB, free: 24.96 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003595/0.9898, allocations: 3.087 MB / 1.289 GB, free: 23.56 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.555e-06/0.9898, allocations: 2.375 kB / 1.289 GB, free: 23.56 MB / 0.9981 GB Notification: Performance of matching and sorting (n=191) (initialization): time 0.01154/1.001, allocations: 5.636 MB / 1.294 GB, free: 21.77 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.519e-05/1.001, allocations: 12.62 kB / 1.294 GB, free: 21.77 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.266e-05/1.001, allocations: 9.781 kB / 1.294 GB, free: 21.77 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008922/1.01, allocations: 2.723 MB / 1.297 GB, free: 21.26 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008281/1.011, allocations: 192.1 kB / 1.297 GB, free: 21.24 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03105/1.042, allocations: 25.72 MB / 1.322 GB, free: 4.508 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001565/1.044, allocations: 94.08 kB / 1.322 GB, free: 4.457 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001355/1.044, allocations: 59.05 kB / 1.323 GB, free: 4.441 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * 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 (99): * Single equations (assignments): 95 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(6,12,100.0%), (6,12,100.0%), (6,24,100.0%), (6,24,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001029/1.045, allocations: 0.7305 MB / 1.323 GB, free: 3.969 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002116/1.045, allocations: 112.4 kB / 1.323 GB, free: 3.914 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009699/1.055, allocations: 5.396 MB / 1.329 GB, free: 0.7773 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-05/1.055, allocations: 17.33 kB / 1.329 GB, free: 0.7734 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.141e-05/1.055, allocations: 19.19 kB / 1.329 GB, free: 0.7734 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.37e-05/1.055, allocations: 4.75 kB / 1.329 GB, free: 0.7695 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01508/1.07, allocations: 8.709 MB / 1.337 GB, free: 10.51 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-05/1.07, allocations: 4 kB / 1.337 GB, free: 10.51 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004324/1.071, allocations: 115.8 kB / 1.337 GB, free: 10.39 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00799/1.079, allocations: 2.587 MB / 1.34 GB, free: 7.797 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001425/1.079, allocations: 32 kB / 1.34 GB, free: 7.766 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0326/1.111, allocations: 24.14 MB / 1.363 GB, free: 15.08 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.364e-06/1.112, allocations: 7.938 kB / 1.363 GB, free: 15.07 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01056/1.122, allocations: 5.253 MB / 1.369 GB, free: 9.738 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001228/1.123, allocations: 487.5 kB / 1.369 GB, free: 9.242 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003008/1.124, allocations: 32 kB / 1.369 GB, free: 9.211 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001083/1.125, allocations: 71.91 kB / 1.369 GB, free: 9.141 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005216/1.125, allocations: 125 kB / 1.369 GB, free: 9.016 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001257/1.125, allocations: 40 kB / 1.369 GB, free: 8.977 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.001032/1.126, allocations: 0.6456 MB / 1.37 GB, free: 8.34 MB / 1.045 GB Notification: Performance of sort global known variables: time 2.415e-06/1.126, allocations: 0 / 1.37 GB, free: 8.34 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.002767/1.129, allocations: 0.7265 MB / 1.371 GB, free: 7.613 MB / 1.045 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (62): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(6,12,100.0%), (6,24,100.0%), (6,6,100.0%), (10,14,84.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0109/1.14, allocations: 5.83 MB / 1.376 GB, free: 1.695 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.007088/1.147, allocations: 4.207 MB / 1.38 GB, free: 13.45 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 8.246e-06/1.147, allocations: 0 / 1.38 GB, free: 13.45 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.005072/1.152, allocations: 2.708 MB / 1.383 GB, free: 10.69 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001514/1.154, allocations: 218.2 kB / 1.383 GB, free: 10.5 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03701/1.191, allocations: 21.4 MB / 1.404 GB, free: 4.648 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001937/1.193, allocations: 1.704 MB / 1.406 GB, free: 2.91 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0007375/1.194, allocations: 329.3 kB / 1.406 GB, free: 2.594 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006954/1.194, allocations: 0.5305 MB / 1.407 GB, free: 2.062 MB / 1.076 GB Notification: Performance of SimCode: time 7.32e-07/1.194, allocations: 0 / 1.407 GB, free: 2.062 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08771/1.282, allocations: 53.77 MB / 1.459 GB, free: 12.66 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.07/12.35, allocations: 20.55 kB / 1.459 GB, free: 12.65 MB / 1.139 GB (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches