Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.ACLine_RL_N,fileNamePrefix="Buildings_10_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N,fileNamePrefix="Buildings_10_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_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.001997/0.001997, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002215/0.002215, allocations: 200.2 kB / 16.54 MB, free: 6.672 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.447/1.447, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.509/2.509, allocations: 437 MB / 0.7104 GB, free: 5.055 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001529/0.001529, allocations: 60.09 kB / 0.8694 GB, free: 4.57 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6679/0.6695, allocations: 151.6 MB / 1.017 GB, free: 2.605 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N): time 0.02264/0.6921, allocations: 20.26 MB / 1.037 GB, free: 14.28 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.01028/0.7025, allocations: 6.443 MB / 1.043 GB, free: 7.82 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001205/0.7037, allocations: 91.56 kB / 1.044 GB, free: 7.73 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.004869/0.7086, allocations: 2.236 MB / 1.046 GB, free: 5.492 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.002359/0.711, allocations: 1.181 MB / 1.047 GB, free: 4.305 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.002587/0.7136, allocations: 1.28 MB / 1.048 GB, free: 3.023 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.004434/0.718, allocations: 4.858 MB / 1.053 GB, free: 14.15 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005582/0.7236, allocations: 5.63 MB / 1.058 GB, free: 8.449 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00319/0.7268, allocations: 2.072 MB / 1.06 GB, free: 6.371 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003083/0.7299, allocations: 2.344 MB / 1.063 GB, free: 4.02 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.0006856/0.7306, allocations: 432 kB / 1.063 GB, free: 3.598 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002036/0.7327, allocations: 1.003 MB / 1.064 GB, free: 2.594 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.001487/0.7341, allocations: 1.668 MB / 1.066 GB, free: 0.9219 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.00215/0.7363, allocations: 1.914 MB / 1.068 GB, free: 15 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.005796/0.7421, allocations: 6.474 MB / 1.074 GB, free: 8.508 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.122e-06/0.7421, allocations: 0 / 1.074 GB, free: 8.508 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.144e-06/0.7422, allocations: 4 kB / 1.074 GB, free: 8.504 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 0.0001043/0.7423, allocations: 0 / 1.074 GB, free: 8.504 MB / 0.8262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 798 * Number of variables: 798 Notification: Performance of Generate backend data structure: time 0.006544/0.7488, allocations: 3.452 MB / 1.077 GB, free: 4.988 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.214e-05/0.7489, allocations: 8.031 kB / 1.077 GB, free: 4.98 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006043/0.7495, allocations: 458.5 kB / 1.078 GB, free: 4.52 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003292/0.7528, allocations: 0.6372 MB / 1.078 GB, free: 3.879 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003215/0.756, allocations: 1.936 MB / 1.08 GB, free: 1.883 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001526/0.7562, allocations: 222.3 kB / 1.08 GB, free: 1.664 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004603/0.7566, allocations: 292.1 kB / 1.081 GB, free: 1.379 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00764/0.7643, allocations: 4.894 MB / 1.086 GB, free: 12.29 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001055/0.7644, allocations: 15.83 kB / 1.086 GB, free: 12.27 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003651/0.7648, allocations: 131.9 kB / 1.086 GB, free: 12.14 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004986/0.7653, allocations: 225.7 kB / 1.086 GB, free: 11.92 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006339/0.7717, allocations: 3.75 MB / 1.09 GB, free: 8.16 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02582/0.7975, allocations: 21.58 MB / 1.111 GB, free: 0.5859 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001806/0.7993, allocations: 1.303 MB / 1.112 GB, free: 15.27 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00143/0.8008, allocations: 1.053 MB / 1.113 GB, free: 14.22 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 7.169e-05/0.8009, allocations: 13 kB / 1.113 GB, free: 14.21 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.707e-05/0.8009, allocations: 43.56 kB / 1.113 GB, free: 14.16 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=107): time 3.155e-06/0.8009, allocations: 0 / 1.113 GB, free: 14.16 MB / 0.8731 GB Notification: Performance of matching and sorting (n=138): time 0.02548/0.8264, allocations: 8.657 MB / 1.121 GB, free: 5.441 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.105e-05/0.8265, allocations: 68.72 kB / 1.122 GB, free: 5.363 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00172/0.8283, allocations: 1.126 MB / 1.123 GB, free: 4.23 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.0001192/0.8284, allocations: 53.7 kB / 1.123 GB, free: 4.172 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008491/0.8292, allocations: 1.288 MB / 1.124 GB, free: 2.867 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004406/0.8297, allocations: 489 kB / 1.124 GB, free: 2.383 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005019/0.8302, allocations: 295.4 kB / 1.125 GB, free: 2.09 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.000105/0.8303, allocations: 305.1 kB / 1.125 GB, free: 1.789 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001353/0.8317, allocations: 0.9135 MB / 1.126 GB, free: 0.875 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001694/0.8334, allocations: 1.326 MB / 1.127 GB, free: 15.38 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00313/0.8365, allocations: 2.418 MB / 1.129 GB, free: 12.79 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.213e-05/0.8366, allocations: 8 kB / 1.13 GB, free: 12.78 MB / 0.8887 GB Notification: Performance of matching and sorting (n=203) (initialization): time 0.00625/0.8428, allocations: 3.467 MB / 1.133 GB, free: 9.289 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 3.626e-05/0.8429, allocations: 12 kB / 1.133 GB, free: 9.277 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.63e-05/0.8429, allocations: 16.84 kB / 1.133 GB, free: 9.262 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003312/0.8462, allocations: 1.198 MB / 1.134 GB, free: 8.059 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001002/0.8473, allocations: 255.6 kB / 1.134 GB, free: 7.809 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01801/0.8653, allocations: 13.84 MB / 1.148 GB, free: 9.551 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001495/0.8668, allocations: 91.97 kB / 1.148 GB, free: 9.461 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000255/0.8671, allocations: 60 kB / 1.148 GB, free: 9.402 MB / 0.9044 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * 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 (132): * Single equations (assignments): 129 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(5,17,84.0%), (5,17,92.0%), (5,25,88.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002077/0.8692, allocations: 1.122 MB / 1.149 GB, free: 8.27 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004233/0.8696, allocations: 158.1 kB / 1.149 GB, free: 8.113 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005803/0.8754, allocations: 3.177 MB / 1.152 GB, free: 4.91 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.665e-05/0.8755, allocations: 16 kB / 1.152 GB, free: 4.895 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.895e-05/0.8755, allocations: 15.94 kB / 1.152 GB, free: 4.879 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.46e-05/0.8755, allocations: 7.969 kB / 1.152 GB, free: 4.871 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01107/0.8866, allocations: 6.241 MB / 1.158 GB, free: 14.5 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.536e-05/0.8867, allocations: 4 kB / 1.158 GB, free: 14.49 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006202/0.8873, allocations: 151.8 kB / 1.159 GB, free: 14.34 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002961/0.8903, allocations: 1.067 MB / 1.16 GB, free: 13.27 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001076/0.8904, allocations: 28 kB / 1.16 GB, free: 13.24 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01736/0.9078, allocations: 13.56 MB / 1.173 GB, free: 15.27 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.572e-06/0.9078, allocations: 4 kB / 1.173 GB, free: 15.26 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005813/0.9136, allocations: 3.154 MB / 1.176 GB, free: 12.02 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00105/0.9147, allocations: 423.1 kB / 1.176 GB, free: 11.59 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004316/0.9152, allocations: 39.86 kB / 1.176 GB, free: 11.55 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001035/0.9162, allocations: 83.84 kB / 1.177 GB, free: 11.47 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003952/0.9166, allocations: 124.7 kB / 1.177 GB, free: 11.34 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001039/0.9167, allocations: 44 kB / 1.177 GB, free: 11.3 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.001426/0.9182, allocations: 0.7632 MB / 1.177 GB, free: 10.54 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.7e-07/0.9182, allocations: 0 / 1.177 GB, free: 10.54 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.002458/0.9207, allocations: 0.6641 MB / 1.178 GB, free: 9.871 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (70): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(5,17,84.0%), (5,25,88.0%), (5,17,92.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.005793/0.9265, allocations: 3.74 MB / 1.182 GB, free: 6.035 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.006055/0.9325, allocations: 3.634 MB / 1.185 GB, free: 2.359 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.289e-05/0.9326, allocations: 4.75 kB / 1.185 GB, free: 2.355 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.003041/0.9356, allocations: 1.947 MB / 1.187 GB, free: 376 kB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002813/0.9385, allocations: 0.5014 MB / 1.188 GB, free: 15.88 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0318/0.9703, allocations: 20.09 MB / 1.207 GB, free: 10.95 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003288/0.9736, allocations: 2.344 MB / 1.21 GB, free: 8.578 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.001168/0.9748, allocations: 350.1 kB / 1.21 GB, free: 8.23 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00124/0.9761, allocations: 1.007 MB / 1.211 GB, free: 7.227 MB / 0.9669 GB Notification: Performance of SimCode: time 6.01e-07/0.9761, allocations: 0 / 1.211 GB, free: 7.227 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6012/1.577, allocations: 51.45 MB / 1.261 GB, free: 216.9 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.99/12.57, allocations: 15.42 kB / 1.261 GB, free: 216.9 MB / 0.9981 GB (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N_res.mat --tempDir=temp_Buildings_10_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N.fmu > Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches