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.005053/0.005053, allocations: 105.5 kB / 15.74 MB, free: 6.008 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.001235/0.001236, allocations: 194.4 kB / 16.67 MB, free: 5.93 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.247/1.247, allocations: 222.9 MB / 240.4 MB, free: 15.14 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.096/2.096, allocations: 390.3 MB / 0.6648 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001212/0.001212, allocations: 63.91 kB / 0.9504 GB, free: 8.172 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7012/0.7024, allocations: 140.4 MB / 1.087 GB, free: 5.281 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N): time 0.01063/0.7131, allocations: 10.08 MB / 1.097 GB, free: 14.39 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.006112/0.7193, allocations: 3.179 MB / 1.1 GB, free: 12.21 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008264/0.7201, allocations: 38 kB / 1.1 GB, free: 12.2 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.001663/0.7218, allocations: 0.598 MB / 1.101 GB, free: 11.84 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.001745/0.7235, allocations: 0.7342 MB / 1.102 GB, free: 11.42 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.001769/0.7253, allocations: 0.7457 MB / 1.102 GB, free: 11.05 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.003823/0.7292, allocations: 2.989 MB / 1.105 GB, free: 9.797 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003152/0.7323, allocations: 2.588 MB / 1.108 GB, free: 8.762 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002169/0.7345, allocations: 1.252 MB / 1.109 GB, free: 8.23 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002012/0.7365, allocations: 1.564 MB / 1.111 GB, free: 7.602 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0004888/0.737, allocations: 236.4 kB / 1.111 GB, free: 7.602 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00102/0.7381, allocations: 0.495 MB / 1.111 GB, free: 7.504 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.00111/0.7392, allocations: 1.074 MB / 1.112 GB, free: 7.105 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.001206/0.7404, allocations: 1.115 MB / 1.114 GB, free: 6.41 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.004111/0.7445, allocations: 3.681 MB / 1.117 GB, free: 5.273 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.7445, allocations: 0 / 1.117 GB, free: 5.273 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.543e-06/0.7445, allocations: 0.9688 kB / 1.117 GB, free: 5.273 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 6.735e-05/0.7446, allocations: 0 / 1.117 GB, free: 5.273 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.004349/0.749, allocations: 2.146 MB / 1.119 GB, free: 3.98 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.565e-05/0.749, allocations: 9.094 kB / 1.119 GB, free: 3.98 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003561/0.7494, allocations: 259.6 kB / 1.119 GB, free: 3.832 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009162/0.7585, allocations: 1.314 MB / 1.121 GB, free: 3.664 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002803/0.7614, allocations: 1.296 MB / 1.122 GB, free: 2.961 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.987e-05/0.7614, allocations: 119.2 kB / 1.122 GB, free: 2.902 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000348/0.7618, allocations: 149.3 kB / 1.122 GB, free: 2.852 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005478/0.7673, allocations: 3.439 MB / 1.126 GB, free: 1.547 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.117e-05/0.7673, allocations: 10.69 kB / 1.126 GB, free: 1.539 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002331/0.7676, allocations: 68 kB / 1.126 GB, free: 1.488 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002645/0.7679, allocations: 204.7 kB / 1.126 GB, free: 1.461 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005028/0.7729, allocations: 3.125 MB / 1.129 GB, free: 468 kB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01731/0.7902, allocations: 13.54 MB / 1.142 GB, free: 7.398 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002487/0.7927, allocations: 1.738 MB / 1.144 GB, free: 6.672 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001977/0.7947, allocations: 1.435 MB / 1.145 GB, free: 5.957 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 9.021e-05/0.7948, allocations: 15.14 kB / 1.145 GB, free: 5.953 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.816e-05/0.7949, allocations: 47.94 kB / 1.145 GB, free: 5.902 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=104): time 3.066e-06/0.7949, allocations: 0 / 1.145 GB, free: 5.902 MB / 0.8887 GB Notification: Performance of matching and sorting (n=183): time 0.1513/0.9462, allocations: 36.69 MB / 1.181 GB, free: 13.09 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.413e-05/0.9463, allocations: 77.34 kB / 1.181 GB, free: 13.01 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0014/0.9477, allocations: 1.05 MB / 1.182 GB, free: 11.93 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0002543/0.9479, allocations: 57.7 kB / 1.182 GB, free: 11.87 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004575/0.9484, allocations: 0.7912 MB / 1.183 GB, free: 11.07 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.000538/0.949, allocations: 0.6238 MB / 1.184 GB, free: 10.43 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007441/0.9497, allocations: 359.4 kB / 1.184 GB, free: 10.07 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 8.665e-05/0.9498, allocations: 301.1 kB / 1.184 GB, free: 9.777 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0026/0.9524, allocations: 1.932 MB / 1.186 GB, free: 7.844 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002805/0.9552, allocations: 2.285 MB / 1.188 GB, free: 5.434 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005495/0.9607, allocations: 4.394 MB / 1.193 GB, free: 0.9141 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.06e-06/0.9607, allocations: 0 / 1.193 GB, free: 0.9141 MB / 0.92 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.01984/0.9806, allocations: 9.027 MB / 1.202 GB, free: 7.855 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.515e-05/0.9806, allocations: 8 kB / 1.202 GB, free: 7.848 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.874e-05/0.9806, allocations: 8 kB / 1.202 GB, free: 7.84 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01672/0.9974, allocations: 4.976 MB / 1.206 GB, free: 2.848 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009103/0.9983, allocations: 191.7 kB / 1.207 GB, free: 2.66 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05526/1.054, allocations: 38.89 MB / 1.245 GB, free: 11.19 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002104/1.056, allocations: 103.9 kB / 1.245 GB, free: 11.09 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001991/1.056, allocations: 71.98 kB / 1.245 GB, free: 11.02 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.001329/1.057, allocations: 0.8101 MB / 1.246 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000309/1.058, allocations: 134.4 kB / 1.246 GB, free: 10.06 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01992/1.078, allocations: 8.886 MB / 1.254 GB, free: 1.141 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.936e-05/1.078, allocations: 20 kB / 1.254 GB, free: 1.121 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.714e-05/1.078, allocations: 28 kB / 1.254 GB, free: 1.094 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.141e-05/1.078, allocations: 7.969 kB / 1.254 GB, free: 1.086 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02634/1.104, allocations: 13.41 MB / 1.268 GB, free: 3.512 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.154e-05/1.104, allocations: 4 kB / 1.268 GB, free: 3.508 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004587/1.104, allocations: 119.8 kB / 1.268 GB, free: 3.391 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01621/1.121, allocations: 4.837 MB / 1.272 GB, free: 14.54 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002408/1.121, allocations: 36 kB / 1.272 GB, free: 14.5 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05244/1.173, allocations: 36.82 MB / 1.308 GB, free: 9.098 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.164e-06/1.173, allocations: 11.92 kB / 1.308 GB, free: 9.086 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01946/1.193, allocations: 8.584 MB / 1.317 GB, free: 424 kB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001722/1.195, allocations: 0.6399 MB / 1.317 GB, free: 15.75 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002727/1.195, allocations: 32 kB / 1.317 GB, free: 15.72 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001318/1.196, allocations: 91.89 kB / 1.317 GB, free: 15.63 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007686/1.197, allocations: 169.6 kB / 1.318 GB, free: 15.46 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001505/1.197, allocations: 44 kB / 1.318 GB, free: 15.42 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0009957/1.198, allocations: 0.7343 MB / 1.318 GB, free: 14.67 MB / 1.061 GB Notification: Performance of sort global known variables: time 2e-07/1.198, allocations: 3.938 kB / 1.318 GB, free: 14.67 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.003034/1.201, allocations: 1.012 MB / 1.319 GB, free: 13.66 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.0195/1.221, allocations: 9.191 MB / 1.328 GB, free: 4.367 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.009597/1.23, allocations: 5.946 MB / 1.334 GB, free: 14.38 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 6.663e-06/1.23, allocations: 4 kB / 1.334 GB, free: 14.38 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.007764/1.238, allocations: 3.928 MB / 1.338 GB, free: 10.39 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00153/1.24, allocations: 228.8 kB / 1.338 GB, free: 10.17 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05633/1.296, allocations: 31.03 MB / 1.369 GB, free: 10.61 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001645/1.298, allocations: 1.855 MB / 1.37 GB, free: 8.719 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.0008096/1.299, allocations: 359.4 kB / 1.371 GB, free: 8.363 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006811/1.299, allocations: 0.6086 MB / 1.371 GB, free: 7.754 MB / 1.107 GB Notification: Performance of SimCode: time 6.32e-07/1.299, allocations: 0 / 1.371 GB, free: 7.754 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.158/5.457, allocations: 76.14 MB / 1.446 GB, free: 11.94 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.59/20.05, allocations: 11.56 kB / 1.446 GB, free: 11.93 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