Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC,fileNamePrefix="Buildings_9_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_9_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.0009036/0.0009036, allocations: 98.03 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.006081/0.006081, allocations: 168.9 kB / 16.26 MB, free: 6.648 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.279/1.279, allocations: 223.3 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.162/2.162, allocations: 390.9 MB / 0.6664 GB, free: 2.344 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003129/0.0003129, allocations: 8 kB / 0.8161 GB, free: 13.13 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4838/0.4841, allocations: 142.4 MB / 0.9552 GB, free: 7.664 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC): time 0.007315/0.4914, allocations: 9.533 MB / 0.9645 GB, free: 324 kB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.003758/0.4952, allocations: 3.005 MB / 0.9674 GB, free: 13.95 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002608/0.4955, allocations: 30.88 kB / 0.9675 GB, free: 13.94 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0003244/0.4958, allocations: 182.5 kB / 0.9676 GB, free: 13.78 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0009757/0.4968, allocations: 0.6601 MB / 0.9683 GB, free: 13.27 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008062/0.4976, allocations: 0.536 MB / 0.9688 GB, free: 12.86 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.002984/0.5006, allocations: 4.07 MB / 0.9728 GB, free: 10.71 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003639/0.5043, allocations: 3.12 MB / 0.9758 GB, free: 9.031 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008332/0.5051, allocations: 0.8399 MB / 0.9766 GB, free: 8.59 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001258/0.5064, allocations: 1.276 MB / 0.9779 GB, free: 7.898 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0001505/0.5065, allocations: 108.1 kB / 0.978 GB, free: 7.875 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000641/0.5072, allocations: 451.2 kB / 0.9784 GB, free: 7.434 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0006408/0.5078, allocations: 0.8457 MB / 0.9792 GB, free: 6.586 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0006757/0.5085, allocations: 0.8725 MB / 0.9801 GB, free: 5.703 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.002113/0.5106, allocations: 3.257 MB / 0.9833 GB, free: 2.434 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.095e-06/0.5107, allocations: 0 / 0.9833 GB, free: 2.434 MB / 0.7325 GB Notification: Performance of FrontEnd: time 4.038e-06/0.5107, allocations: 0 / 0.9833 GB, free: 2.434 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.452e-05/0.5107, allocations: 0 / 0.9833 GB, free: 2.434 MB / 0.7325 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.002293/0.513, allocations: 1.601 MB / 0.9848 GB, free: 0.7773 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.251e-05/0.513, allocations: 12.03 kB / 0.9849 GB, free: 0.7656 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002692/0.5133, allocations: 248.7 kB / 0.9851 GB, free: 0.5117 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005204/0.5185, allocations: 0.8882 MB / 0.986 GB, free: 15.62 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001352/0.5199, allocations: 1.122 MB / 0.9871 GB, free: 14.45 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.638e-05/0.5199, allocations: 111.3 kB / 0.9872 GB, free: 14.34 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002416/0.5202, allocations: 140.4 kB / 0.9873 GB, free: 14.21 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003658/0.5239, allocations: 3.021 MB / 0.9902 GB, free: 11.09 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.099e-05/0.5239, allocations: 0 / 0.9902 GB, free: 11.09 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001672/0.5241, allocations: 63.97 kB / 0.9903 GB, free: 11.02 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001833/0.5243, allocations: 182.9 kB / 0.9905 GB, free: 10.84 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003308/0.5276, allocations: 2.608 MB / 0.993 GB, free: 8.23 MB / 0.7481 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.01198/0.5396, allocations: 13.54 MB / 1.006 GB, free: 9.586 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001628/0.5412, allocations: 1.291 MB / 1.008 GB, free: 8.277 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001172/0.5424, allocations: 1.052 MB / 1.009 GB, free: 7.227 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 5.086e-05/0.5424, allocations: 8.656 kB / 1.009 GB, free: 7.215 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.089e-05/0.5425, allocations: 43.16 kB / 1.009 GB, free: 7.164 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=82): time 1.643e-06/0.5425, allocations: 4 kB / 1.009 GB, free: 7.16 MB / 0.7637 GB Notification: Performance of matching and sorting (n=139): time 0.0688/0.6113, allocations: 19.46 MB / 1.028 GB, free: 3.555 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.433e-05/0.6114, allocations: 76.7 kB / 1.028 GB, free: 3.469 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001164/0.6125, allocations: 0.9144 MB / 1.029 GB, free: 2.539 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 0.0001077/0.6127, allocations: 49.7 kB / 1.029 GB, free: 2.484 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004031/0.6131, allocations: 0.7283 MB / 1.029 GB, free: 1.742 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003803/0.6135, allocations: 489 kB / 1.03 GB, free: 1.258 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002095/0.6137, allocations: 125.6 kB / 1.03 GB, free: 1.129 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.000111/0.6138, allocations: 353.9 kB / 1.03 GB, free: 0.7773 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001729/0.6155, allocations: 1.339 MB / 1.032 GB, free: 15.43 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001898/0.6174, allocations: 1.655 MB / 1.033 GB, free: 13.67 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003661/0.6211, allocations: 3.092 MB / 1.036 GB, free: 10.46 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.332e-06/0.6211, allocations: 4 kB / 1.036 GB, free: 10.45 MB / 0.795 GB Notification: Performance of matching and sorting (n=191) (initialization): time 0.01088/0.632, allocations: 5.638 MB / 1.042 GB, free: 4.789 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.368e-05/0.6321, allocations: 12.59 kB / 1.042 GB, free: 4.777 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.593e-05/0.6321, allocations: 8 kB / 1.042 GB, free: 4.77 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008366/0.6405, allocations: 2.716 MB / 1.044 GB, free: 2.043 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006878/0.6412, allocations: 199.6 kB / 1.045 GB, free: 1.848 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03021/0.6714, allocations: 23.33 MB / 1.067 GB, free: 9.973 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001316/0.6727, allocations: 91.95 kB / 1.067 GB, free: 9.883 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000187/0.6729, allocations: 56 kB / 1.067 GB, free: 9.828 MB / 0.8262 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.001099/0.674, allocations: 0.7277 MB / 1.068 GB, free: 9.09 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002454/0.6743, allocations: 118.6 kB / 1.068 GB, free: 8.973 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01068/0.685, allocations: 5.392 MB / 1.074 GB, free: 3.551 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.051e-05/0.685, allocations: 12 kB / 1.074 GB, free: 3.539 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.688e-05/0.685, allocations: 20 kB / 1.074 GB, free: 3.52 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.348e-05/0.6851, allocations: 11.97 kB / 1.074 GB, free: 3.508 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01558/0.7006, allocations: 8.625 MB / 1.082 GB, free: 10.76 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.456e-05/0.7007, allocations: 4 kB / 1.082 GB, free: 10.76 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004693/0.7012, allocations: 119.7 kB / 1.082 GB, free: 10.64 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008075/0.7093, allocations: 2.54 MB / 1.085 GB, free: 8.09 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001727/0.7095, allocations: 28 kB / 1.085 GB, free: 8.062 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02949/0.739, allocations: 20.88 MB / 1.105 GB, free: 2.629 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.643e-06/0.739, allocations: 7.938 kB / 1.105 GB, free: 2.621 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01014/0.7491, allocations: 5.142 MB / 1.11 GB, free: 13.39 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007996/0.75, allocations: 475.5 kB / 1.111 GB, free: 12.91 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000275/0.7503, allocations: 35.98 kB / 1.111 GB, free: 12.88 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009983/0.7513, allocations: 71.91 kB / 1.111 GB, free: 12.8 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004861/0.7518, allocations: 121 kB / 1.111 GB, free: 12.69 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.898e-05/0.7519, allocations: 44.17 kB / 1.111 GB, free: 12.64 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.000832/0.7527, allocations: 0.6395 MB / 1.111 GB, free: 12 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.7e-07/0.7527, allocations: 3.938 kB / 1.111 GB, free: 12 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.002226/0.755, allocations: 0.7227 MB / 1.112 GB, free: 11.28 MB / 0.8731 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.01029/0.7653, allocations: 5.706 MB / 1.118 GB, free: 5.48 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.006597/0.7719, allocations: 4.155 MB / 1.122 GB, free: 1.273 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 6.823e-06/0.7719, allocations: 0 / 1.122 GB, free: 1.273 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.004716/0.7766, allocations: 2.658 MB / 1.124 GB, free: 14.57 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001688/0.7783, allocations: 209.4 kB / 1.125 GB, free: 14.36 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03495/0.8133, allocations: 22.56 MB / 1.147 GB, free: 7.188 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001588/0.8149, allocations: 1.696 MB / 1.148 GB, free: 5.461 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0007273/0.8157, allocations: 333.4 kB / 1.149 GB, free: 5.133 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006309/0.8163, allocations: 0.5344 MB / 1.149 GB, free: 4.598 MB / 0.9044 GB Notification: Performance of SimCode: time 4.81e-07/0.8163, allocations: 0 / 1.149 GB, free: 4.598 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.697/4.514, allocations: 48.82 MB / 1.197 GB, free: 4.16 MB / 0.9512 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000231/4.514, allocations: 255.1 kB / 1.197 GB, free: 3.902 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.229/7.743, allocations: 0 / 1.197 GB, free: 3.902 MB / 0.9512 GB (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC.fmu > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches