Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_RL_N,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_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.001448/0.001448, 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.001457/0.001457, allocations: 191.6 kB / 16.53 MB, free: 6.391 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.2 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.579/2.579, allocations: 469.8 MB / 0.7424 GB, free: 7.426 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001752/0.001752, allocations: 69.42 kB / 0.9087 GB, free: 34.29 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2406/0.2424, allocations: 159.2 MB / 1.064 GB, free: 14.2 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N): time 0.02521/0.2676, allocations: 23.42 MB / 1.087 GB, free: 6.699 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.009896/0.2775, allocations: 6.496 MB / 1.093 GB, free: 188 kB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001227/0.2788, allocations: 95.56 kB / 1.093 GB, free: 92 kB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.003187/0.282, allocations: 1.487 MB / 1.095 GB, free: 14.6 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.003113/0.2851, allocations: 1.836 MB / 1.097 GB, free: 12.75 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.00271/0.2878, allocations: 1.447 MB / 1.098 GB, free: 11.31 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.006153/0.294, allocations: 6.904 MB / 1.105 GB, free: 4.391 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007471/0.3015, allocations: 7.019 MB / 1.112 GB, free: 13.28 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003056/0.3045, allocations: 2.824 MB / 1.114 GB, free: 10.45 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003869/0.3084, allocations: 3.482 MB / 1.118 GB, free: 6.953 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0006945/0.3091, allocations: 0.5273 MB / 1.118 GB, free: 6.426 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001982/0.3111, allocations: 1.17 MB / 1.119 GB, free: 5.254 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.002161/0.3133, allocations: 2.464 MB / 1.122 GB, free: 2.785 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.002427/0.3157, allocations: 2.524 MB / 1.124 GB, free: 256 kB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.007079/0.3228, allocations: 8.464 MB / 1.133 GB, free: 7.762 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.3228, allocations: 0 / 1.133 GB, free: 7.762 MB / 0.8887 GB Notification: Performance of FrontEnd: time 6.452e-06/0.3228, allocations: 4 kB / 1.133 GB, free: 7.758 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 8.587e-05/0.3229, allocations: 3.938 kB / 1.133 GB, free: 7.754 MB / 0.8887 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1053 * Number of variables: 1053 Notification: Performance of Generate backend data structure: time 0.006754/0.3297, allocations: 4.424 MB / 1.137 GB, free: 3.262 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.904e-05/0.3297, allocations: 12.03 kB / 1.137 GB, free: 3.25 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006927/0.3304, allocations: 0.5714 MB / 1.138 GB, free: 2.668 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00764/0.3381, allocations: 1.681 MB / 1.139 GB, free: 0.9805 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003803/0.3419, allocations: 2.575 MB / 1.142 GB, free: 14.35 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001945/0.3421, allocations: 279.7 kB / 1.142 GB, free: 14.08 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005722/0.3427, allocations: 368.2 kB / 1.142 GB, free: 13.72 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0101/0.3528, allocations: 7.483 MB / 1.15 GB, free: 5.969 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.553e-05/0.3529, allocations: 15.88 kB / 1.15 GB, free: 5.953 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003908/0.3533, allocations: 155.9 kB / 1.15 GB, free: 5.801 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005342/0.3538, allocations: 487.3 kB / 1.15 GB, free: 5.324 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008087/0.3619, allocations: 5.697 MB / 1.156 GB, free: 15.62 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03127/0.3932, allocations: 31.71 MB / 1.187 GB, free: 13.14 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002675/0.3959, allocations: 2.097 MB / 1.189 GB, free: 11.03 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002786/0.3987, allocations: 2.174 MB / 1.191 GB, free: 8.852 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001154/0.3988, allocations: 21.31 kB / 1.191 GB, free: 8.828 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.576e-05/0.3989, allocations: 43.88 kB / 1.191 GB, free: 8.777 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=146): time 3.105e-06/0.3989, allocations: 7.938 kB / 1.191 GB, free: 8.77 MB / 0.9512 GB Notification: Performance of matching and sorting (n=251): time 0.6834/1.082, allocations: 77.01 MB / 1.266 GB, free: 172.4 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.938e-05/1.082, allocations: 78.62 kB / 1.266 GB, free: 172.4 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001786/1.084, allocations: 1.67 MB / 1.268 GB, free: 171.7 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0002442/1.084, allocations: 70.3 kB / 1.268 GB, free: 171.6 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006629/1.085, allocations: 1.737 MB / 1.27 GB, free: 170.3 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005341/1.086, allocations: 0.8583 MB / 1.27 GB, free: 169.7 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000857/1.086, allocations: 483.6 kB / 1.271 GB, free: 169.5 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 2.896e-05/1.087, allocations: 302.2 kB / 1.271 GB, free: 169.2 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002965/1.089, allocations: 2.731 MB / 1.274 GB, free: 168.2 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003234/1.093, allocations: 3.328 MB / 1.277 GB, free: 166.5 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006647/1.099, allocations: 6.394 MB / 1.283 GB, free: 162.7 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-05/1.099, allocations: 9.406 kB / 1.283 GB, free: 162.7 MB / 0.9981 GB Notification: Performance of matching and sorting (n=331) (initialization): time 0.02584/1.125, allocations: 14.67 MB / 1.298 GB, free: 154.2 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.823e-05/1.125, allocations: 12.59 kB / 1.298 GB, free: 154.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.387e-05/1.125, allocations: 21.66 kB / 1.298 GB, free: 154.2 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02307/1.148, allocations: 9.291 MB / 1.307 GB, free: 147.8 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009114/1.149, allocations: 303.4 kB / 1.307 GB, free: 147.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05748/1.207, allocations: 52.39 MB / 1.358 GB, free: 94.27 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002486/1.209, allocations: 224.7 kB / 1.359 GB, free: 94.05 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002021/1.21, allocations: 100 kB / 1.359 GB, free: 93.95 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (157): * Single equations (assignments): 151 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(19,19,64.8%), (19,19,60.9%), (12,18,50.0%), (12,18,50.0%), (12,10,52.8%), (12,10,52.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00178/1.211, allocations: 1.583 MB / 1.36 GB, free: 92.36 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003532/1.212, allocations: 246.8 kB / 1.36 GB, free: 92.11 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02485/1.237, allocations: 14.75 MB / 1.375 GB, free: 77.3 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.128e-05/1.237, allocations: 24 kB / 1.375 GB, free: 77.28 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.044e-05/1.237, allocations: 48 kB / 1.375 GB, free: 77.23 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.602e-05/1.237, allocations: 11.95 kB / 1.375 GB, free: 77.22 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03042/1.267, allocations: 20.52 MB / 1.395 GB, free: 56.55 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.013e-05/1.267, allocations: 5.938 kB / 1.395 GB, free: 56.55 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005763/1.268, allocations: 159.8 kB / 1.395 GB, free: 56.39 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02299/1.291, allocations: 9.064 MB / 1.404 GB, free: 47.3 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001918/1.291, allocations: 48 kB / 1.404 GB, free: 47.26 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0592/1.35, allocations: 51.95 MB / 1.455 GB, free: 10.46 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.737e-06/1.35, allocations: 11.94 kB / 1.455 GB, free: 10.45 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03013/1.38, allocations: 14.37 MB / 1.469 GB, free: 11.95 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001761/1.382, allocations: 0.8428 MB / 1.47 GB, free: 11.08 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003994/1.382, allocations: 51.98 kB / 1.47 GB, free: 11.03 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001951/1.384, allocations: 207.7 kB / 1.47 GB, free: 10.83 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001133/1.386, allocations: 238.4 kB / 1.47 GB, free: 10.6 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001994/1.386, allocations: 68 kB / 1.47 GB, free: 10.53 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.001443/1.387, allocations: 1.129 MB / 1.471 GB, free: 9.379 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.9e-07/1.387, allocations: 0 / 1.471 GB, free: 9.379 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.003769/1.391, allocations: 1.614 MB / 1.473 GB, free: 7.766 MB / 1.029 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (80): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(12,10,53.5%), (12,18,50.0%), (19,19,64.8%), (12,10,53.5%), (12,18,50.0%), (19,19,54.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0302/1.421, allocations: 14.98 MB / 1.487 GB, free: 8.633 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0233/1.444, allocations: 11.33 MB / 1.498 GB, free: 13.26 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 6.622e-06/1.445, allocations: 0 / 1.498 GB, free: 13.26 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.01687/1.461, allocations: 7.316 MB / 1.506 GB, free: 5.887 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002628/1.464, allocations: 0.5492 MB / 1.506 GB, free: 5.352 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09211/1.556, allocations: 53.37 MB / 1.558 GB, free: 13.81 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003386/1.56, allocations: 3.224 MB / 1.561 GB, free: 10.55 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.001065/1.561, allocations: 393.6 kB / 1.562 GB, free: 10.16 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001557/1.562, allocations: 1.468 MB / 1.563 GB, free: 8.695 MB / 1.123 GB Notification: Performance of SimCode: time 9.92e-07/1.562, allocations: 0 / 1.563 GB, free: 8.695 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.894/4.456, allocations: 119.4 MB / 1.68 GB, free: 1.727 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.92/25.38, allocations: 11.5 kB / 1.68 GB, free: 1.719 MB / 1.232 GB (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N_res.mat --tempDir=temp_Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N.fmu > Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches