Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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_N,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N",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.007637/0.007637, allocations: 102 kB / 15.73 MB, free: 6 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.001774/0.001774, allocations: 193.8 kB / 16.68 MB, free: 5.922 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.332/1.332, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.331/2.331, allocations: 390.3 MB / 0.6648 GB, free: 0.6172 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.002061/0.002061, allocations: 63.91 kB / 0.9504 GB, free: 8.133 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8676/0.8696, allocations: 140.4 MB / 1.087 GB, free: 5.258 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N): time 0.01307/0.8828, allocations: 10.09 MB / 1.097 GB, free: 14.36 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.006991/0.8898, allocations: 3.174 MB / 1.1 GB, free: 12.19 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001305/0.8912, allocations: 37.31 kB / 1.1 GB, free: 12.18 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.002125/0.8933, allocations: 0.5958 MB / 1.101 GB, free: 11.82 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.002466/0.8958, allocations: 0.7421 MB / 1.102 GB, free: 11.39 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.002226/0.898, allocations: 0.749 MB / 1.103 GB, free: 11.02 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.004683/0.9027, allocations: 2.985 MB / 1.105 GB, free: 9.773 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003504/0.9063, allocations: 2.589 MB / 1.108 GB, free: 8.738 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002758/0.909, allocations: 1.259 MB / 1.109 GB, free: 8.207 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003094/0.9122, allocations: 1.561 MB / 1.111 GB, free: 7.582 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0006885/0.9129, allocations: 236 kB / 1.111 GB, free: 7.582 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001983/0.9149, allocations: 0.5031 MB / 1.111 GB, free: 7.477 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.002337/0.9172, allocations: 1.07 MB / 1.112 GB, free: 7.082 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.003985/0.9212, allocations: 1.111 MB / 1.114 GB, free: 6.391 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.009984/0.9312, allocations: 3.683 MB / 1.117 GB, free: 5.254 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 6.432e-06/0.9313, allocations: 0 / 1.117 GB, free: 5.254 MB / 0.8731 GB Notification: Performance of FrontEnd: time 2.595e-06/0.9313, allocations: 1.469 kB / 1.117 GB, free: 5.254 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 0.000175/0.9315, allocations: 0 / 1.117 GB, free: 5.254 MB / 0.8731 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 439 * Number of variables: 439 Notification: Performance of Generate backend data structure: time 0.01329/0.9448, allocations: 2.143 MB / 1.119 GB, free: 3.961 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 6.924e-05/0.9449, allocations: 10.62 kB / 1.119 GB, free: 3.961 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002052/0.947, allocations: 257.8 kB / 1.119 GB, free: 3.812 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01533/0.9623, allocations: 1.316 MB / 1.121 GB, free: 3.645 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005987/0.9684, allocations: 1.302 MB / 1.122 GB, free: 2.934 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002917/0.9687, allocations: 120.1 kB / 1.122 GB, free: 2.875 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0017/0.9704, allocations: 145.3 kB / 1.122 GB, free: 2.828 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01623/0.9867, allocations: 3.439 MB / 1.126 GB, free: 1.523 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001702/0.9869, allocations: 6.562 kB / 1.126 GB, free: 1.52 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001409/0.9883, allocations: 71.44 kB / 1.126 GB, free: 1.465 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006638/0.989, allocations: 204.5 kB / 1.126 GB, free: 1.438 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01205/1.001, allocations: 3.125 MB / 1.129 GB, free: 444 kB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03458/1.036, allocations: 13.55 MB / 1.142 GB, free: 7.363 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004616/1.04, allocations: 1.736 MB / 1.144 GB, free: 6.637 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003638/1.044, allocations: 1.435 MB / 1.145 GB, free: 5.922 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002115/1.044, allocations: 11.03 kB / 1.145 GB, free: 5.922 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.412e-05/1.044, allocations: 42.84 kB / 1.145 GB, free: 5.875 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=104): time 4.959e-06/1.044, allocations: 1.094 kB / 1.145 GB, free: 5.875 MB / 0.8887 GB Notification: Performance of matching and sorting (n=183): time 0.1681/1.213, allocations: 36.7 MB / 1.181 GB, free: 13 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.776e-05/1.213, allocations: 69.41 kB / 1.181 GB, free: 12.92 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001868/1.214, allocations: 1.057 MB / 1.182 GB, free: 11.84 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0004445/1.215, allocations: 53.7 kB / 1.182 GB, free: 11.78 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006161/1.216, allocations: 0.7874 MB / 1.183 GB, free: 10.98 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009392/1.217, allocations: 0.6277 MB / 1.184 GB, free: 10.34 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001179/1.218, allocations: 359.4 kB / 1.184 GB, free: 9.984 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001161/1.218, allocations: 301.1 kB / 1.184 GB, free: 9.688 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003057/1.221, allocations: 1.928 MB / 1.186 GB, free: 7.758 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003238/1.224, allocations: 2.289 MB / 1.188 GB, free: 5.344 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006491/1.231, allocations: 4.394 MB / 1.193 GB, free: 0.8242 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-05/1.231, allocations: 4 kB / 1.193 GB, free: 0.8203 MB / 0.92 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.02252/1.253, allocations: 9.019 MB / 1.202 GB, free: 7.77 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 3.71e-05/1.253, allocations: 16.03 kB / 1.202 GB, free: 7.754 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.636e-05/1.253, allocations: 11.98 kB / 1.202 GB, free: 7.742 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01872/1.272, allocations: 4.972 MB / 1.206 GB, free: 2.754 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001061/1.273, allocations: 187.7 kB / 1.207 GB, free: 2.57 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06429/1.337, allocations: 38.89 MB / 1.245 GB, free: 11.11 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002644/1.34, allocations: 99.89 kB / 1.245 GB, free: 11.01 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006181/1.341, allocations: 67.94 kB / 1.245 GB, free: 10.94 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * 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 (105): * Single equations (assignments): 101 * 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 {(8,16,100.0%), (8,16,100.0%), (8,38,100.0%), (8,38,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002482/1.343, allocations: 0.8141 MB / 1.246 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000614/1.344, allocations: 142.4 kB / 1.246 GB, free: 9.977 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0213/1.365, allocations: 8.886 MB / 1.254 GB, free: 1.055 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.576e-05/1.365, allocations: 16 kB / 1.254 GB, free: 1.039 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.828e-05/1.365, allocations: 31.94 kB / 1.254 GB, free: 1.008 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.201e-05/1.365, allocations: 11.97 kB / 1.254 GB, free: 0.9961 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03043/1.396, allocations: 13.4 MB / 1.268 GB, free: 3.43 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.305e-05/1.396, allocations: 4 kB / 1.268 GB, free: 3.426 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006673/1.397, allocations: 119.8 kB / 1.268 GB, free: 3.309 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01821/1.415, allocations: 4.841 MB / 1.272 GB, free: 14.45 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005286/1.415, allocations: 35.98 kB / 1.272 GB, free: 14.41 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05819/1.474, allocations: 36.81 MB / 1.308 GB, free: 9.016 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.683e-06/1.474, allocations: 7.938 kB / 1.308 GB, free: 9.008 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0218/1.496, allocations: 8.596 MB / 1.317 GB, free: 332 kB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002365/1.498, allocations: 0.6397 MB / 1.317 GB, free: 15.66 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000752/1.499, allocations: 40 kB / 1.317 GB, free: 15.62 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001977/1.501, allocations: 87.89 kB / 1.318 GB, free: 15.54 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001166/1.502, allocations: 165.6 kB / 1.318 GB, free: 15.38 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003351/1.502, allocations: 48 kB / 1.318 GB, free: 15.33 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.001475/1.504, allocations: 0.7343 MB / 1.318 GB, free: 14.58 MB / 1.061 GB Notification: Performance of sort global known variables: time 4.81e-07/1.504, allocations: 7.938 kB / 1.318 GB, free: 14.57 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.004848/1.509, allocations: 1 MB / 1.319 GB, free: 13.57 MB / 1.061 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 (66): * Single equations (assignments): 62 * 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 {(8,16,100.0%), (8,38,100.0%), (8,8,100.0%), (15,23,74.2%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.02115/1.53, allocations: 9.202 MB / 1.328 GB, free: 4.273 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.01119/1.541, allocations: 5.945 MB / 1.334 GB, free: 14.28 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 7.855e-06/1.541, allocations: 0 / 1.334 GB, free: 14.28 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.008608/1.55, allocations: 3.924 MB / 1.338 GB, free: 10.3 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002378/1.552, allocations: 240.3 kB / 1.338 GB, free: 10.07 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06675/1.619, allocations: 31.02 MB / 1.369 GB, free: 10.52 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002713/1.622, allocations: 1.855 MB / 1.37 GB, free: 8.629 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.001182/1.623, allocations: 355.4 kB / 1.371 GB, free: 8.277 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001059/1.624, allocations: 0.6151 MB / 1.371 GB, free: 7.664 MB / 1.107 GB Notification: Performance of SimCode: time 1.803e-06/1.624, allocations: 0 / 1.371 GB, free: 7.664 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1315/1.755, allocations: 77.87 MB / 1.447 GB, free: 10.11 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.5/14.26, allocations: 14.27 kB / 1.447 GB, free: 10.11 MB / 1.186 GB (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N.fmu > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches