Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.ACLine_RL_N,fileNamePrefix="Buildings_latest_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_latest_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.007392/0.007392, allocations: 98.66 kB / 15.73 MB, free: 5.547 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.001703/0.001703, allocations: 188.7 kB / 16.67 MB, free: 5.492 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.324/1.324, allocations: 222.9 MB / 240.4 MB, free: 4.188 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.619/2.619, allocations: 461.9 MB / 0.7348 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001339/0.00134, allocations: 72.09 kB / 1.054 GB, free: 7.625 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3018/0.3031, allocations: 157.4 MB / 1.207 GB, free: 10.12 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N): time 0.02432/0.3275, allocations: 20.26 MB / 1.227 GB, free: 5.789 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.01168/0.3392, allocations: 6.445 MB / 1.233 GB, free: 15.33 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002274/0.3415, allocations: 83.62 kB / 1.233 GB, free: 15.25 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.005739/0.3473, allocations: 2.236 MB / 1.236 GB, free: 13 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.003441/0.3508, allocations: 1.181 MB / 1.237 GB, free: 11.82 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003286/0.3541, allocations: 1.288 MB / 1.238 GB, free: 10.53 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.005496/0.3596, allocations: 4.846 MB / 1.243 GB, free: 5.672 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007229/0.3669, allocations: 5.591 MB / 1.248 GB, free: 12 kB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.6008/0.9677, allocations: 2.117 MB / 1.25 GB, free: 12.83 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00456/0.9723, allocations: 2.344 MB / 1.253 GB, free: 12.57 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.001239/0.9736, allocations: 431.4 kB / 1.253 GB, free: 12.57 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002721/0.9763, allocations: 1.002 MB / 1.254 GB, free: 12.57 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.002415/0.9788, allocations: 1.664 MB / 1.256 GB, free: 12.46 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.003691/0.9825, allocations: 1.914 MB / 1.257 GB, free: 11.99 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.01063/0.9931, allocations: 6.513 MB / 1.264 GB, free: 11.44 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 8.486e-06/0.9932, allocations: 0 / 1.264 GB, free: 11.44 MB / 0.9981 GB Notification: Performance of FrontEnd: time 4.158e-06/0.9932, allocations: 0.5938 kB / 1.264 GB, free: 11.44 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0002681/0.9935, allocations: 6.969 kB / 1.264 GB, free: 11.43 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: 798 * Number of variables: 798 Notification: Performance of Generate backend data structure: time 0.01367/1.007, allocations: 3.459 MB / 1.267 GB, free: 10.08 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 6.103e-05/1.007, allocations: 10.16 kB / 1.267 GB, free: 10.08 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002072/1.009, allocations: 452.7 kB / 1.268 GB, free: 10.02 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004983/1.014, allocations: 0.6387 MB / 1.268 GB, free: 9.855 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006445/1.021, allocations: 2.046 MB / 1.27 GB, free: 9.367 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002663/1.021, allocations: 223.3 kB / 1.27 GB, free: 9.359 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001531/1.023, allocations: 287.5 kB / 1.271 GB, free: 9.359 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01345/1.036, allocations: 4.893 MB / 1.276 GB, free: 8.781 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001461/1.036, allocations: 16.59 kB / 1.276 GB, free: 8.777 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008455/1.037, allocations: 125.3 kB / 1.276 GB, free: 8.777 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000522/1.038, allocations: 228.7 kB / 1.276 GB, free: 8.77 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009311/1.047, allocations: 3.756 MB / 1.28 GB, free: 8.734 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02925/1.076, allocations: 21.4 MB / 1.3 GB, free: 9.062 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00225/1.079, allocations: 1.308 MB / 1.302 GB, free: 8.57 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001697/1.08, allocations: 1.056 MB / 1.303 GB, free: 8.18 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 9.213e-05/1.08, allocations: 12.59 kB / 1.303 GB, free: 8.18 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.973e-05/1.08, allocations: 47.86 kB / 1.303 GB, free: 8.129 MB / 1.014 GB Notification: Performance of pre-optimization done (n=107): time 3.818e-06/1.08, allocations: 0 / 1.303 GB, free: 8.129 MB / 1.014 GB Notification: Performance of matching and sorting (n=138): time 0.02777/1.108, allocations: 8.662 MB / 1.311 GB, free: 5.34 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.099e-05/1.108, allocations: 65.97 kB / 1.311 GB, free: 5.273 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00222/1.111, allocations: 1.132 MB / 1.312 GB, free: 4.828 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0002878/1.111, allocations: 46.83 kB / 1.313 GB, free: 4.781 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.001015/1.112, allocations: 1.299 MB / 1.314 GB, free: 3.797 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006309/1.113, allocations: 486.4 kB / 1.314 GB, free: 3.43 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006424/1.113, allocations: 286.7 kB / 1.315 GB, free: 3.293 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001056/1.113, allocations: 312.4 kB / 1.315 GB, free: 2.992 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001413/1.115, allocations: 0.9132 MB / 1.316 GB, free: 2.652 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001747/1.117, allocations: 1.325 MB / 1.317 GB, free: 1.82 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003278/1.12, allocations: 2.426 MB / 1.319 GB, free: 0.4961 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.748e-05/1.12, allocations: 11.53 kB / 1.319 GB, free: 500 kB / 1.014 GB Notification: Performance of matching and sorting (n=203) (initialization): time 0.006717/1.127, allocations: 3.462 MB / 1.323 GB, free: 14.95 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 3.45e-05/1.127, allocations: 10.72 kB / 1.323 GB, free: 14.95 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.67e-05/1.127, allocations: 12.69 kB / 1.323 GB, free: 14.95 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003416/1.13, allocations: 1.184 MB / 1.324 GB, free: 14.4 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001096/1.131, allocations: 260.4 kB / 1.324 GB, free: 14.35 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01831/1.15, allocations: 13.85 MB / 1.338 GB, free: 4.289 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001709/1.151, allocations: 89.22 kB / 1.338 GB, free: 4.242 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003208/1.152, allocations: 61.5 kB / 1.338 GB, free: 4.23 MB / 1.029 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.002481/1.154, allocations: 1.118 MB / 1.339 GB, free: 3.535 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005255/1.155, allocations: 159.9 kB / 1.339 GB, free: 3.457 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006049/1.161, allocations: 3.166 MB / 1.342 GB, free: 1.645 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.41e-05/1.161, allocations: 17.25 kB / 1.342 GB, free: 1.641 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.804e-05/1.161, allocations: 12.5 kB / 1.342 GB, free: 1.641 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.055e-05/1.161, allocations: 11.91 kB / 1.342 GB, free: 1.629 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01312/1.174, allocations: 6.241 MB / 1.348 GB, free: 13.93 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.462e-05/1.174, allocations: 7.484 kB / 1.348 GB, free: 13.92 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006029/1.175, allocations: 145.5 kB / 1.348 GB, free: 13.89 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002854/1.178, allocations: 1.076 MB / 1.35 GB, free: 13.38 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001531/1.178, allocations: 26.28 kB / 1.35 GB, free: 13.37 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01624/1.194, allocations: 13.54 MB / 1.363 GB, free: 2.48 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.878e-06/1.194, allocations: 6.625 kB / 1.363 GB, free: 2.477 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005798/1.2, allocations: 3.155 MB / 1.366 GB, free: 15.29 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001263/1.201, allocations: 423.1 kB / 1.366 GB, free: 14.85 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004709/1.202, allocations: 34.45 kB / 1.366 GB, free: 14.82 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001126/1.203, allocations: 83.91 kB / 1.366 GB, free: 14.74 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003713/1.203, allocations: 123.9 kB / 1.366 GB, free: 14.62 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001115/1.203, allocations: 36 kB / 1.367 GB, free: 14.58 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.00125/1.204, allocations: 0.771 MB / 1.367 GB, free: 13.81 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.2e-07/1.204, allocations: 0 / 1.367 GB, free: 13.81 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.002775/1.207, allocations: 0.6602 MB / 1.368 GB, free: 13.15 MB / 1.061 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.005916/1.213, allocations: 3.741 MB / 1.372 GB, free: 9.367 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.005227/1.218, allocations: 3.131 MB / 1.375 GB, free: 6.246 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 7.775e-06/1.218, allocations: 4.594 kB / 1.375 GB, free: 6.246 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.003139/1.222, allocations: 1.96 MB / 1.377 GB, free: 4.27 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003051/1.225, allocations: 0.4942 MB / 1.377 GB, free: 3.809 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03587/1.261, allocations: 19.1 MB / 1.396 GB, free: 312 kB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003728/1.264, allocations: 2.336 MB / 1.398 GB, free: 13.94 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.001263/1.266, allocations: 362.1 kB / 1.398 GB, free: 13.58 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001569/1.267, allocations: 1.007 MB / 1.399 GB, free: 12.57 MB / 1.092 GB Notification: Performance of SimCode: time 2.154e-06/1.267, allocations: 0 / 1.399 GB, free: 12.57 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.122/1.389, allocations: 52.91 MB / 1.451 GB, free: 8.402 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.71/13.1, allocations: 26.52 kB / 1.451 GB, free: 8.383 MB / 1.139 GB (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches