Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_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.ACLine_L_N,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_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.00637/0.00637, allocations: 100.5 kB / 15.73 MB, free: 5.98 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.001169/0.001169, allocations: 200.2 kB / 16.68 MB, free: 5.906 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.402/1.402, allocations: 222.9 MB / 240.4 MB, free: 15.19 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.243/2.243, allocations: 390.2 MB / 0.6648 GB, free: 0.6602 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00124/0.00124, allocations: 59.91 kB / 0.9504 GB, free: 8.172 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8543/0.8556, allocations: 140.4 MB / 1.087 GB, free: 5.273 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N): time 0.04653/0.9022, allocations: 34.84 MB / 1.122 GB, free: 13.94 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.02313/0.9253, allocations: 11.49 MB / 1.133 GB, free: 6.078 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007157/0.9325, allocations: 162.8 kB / 1.133 GB, free: 6.027 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.01306/0.9457, allocations: 4.247 MB / 1.137 GB, free: 3.453 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.009162/0.9549, allocations: 1.99 MB / 1.139 GB, free: 2.242 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.008356/0.9633, allocations: 2.408 MB / 1.141 GB, free: 0.8828 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.01355/0.9768, allocations: 8.462 MB / 1.15 GB, free: 13.09 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02209/0.999, allocations: 11.12 MB / 1.16 GB, free: 8.59 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008924/1.008, allocations: 3.797 MB / 1.164 GB, free: 6.836 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009839/1.018, allocations: 4.188 MB / 1.168 GB, free: 4.594 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.00379/1.022, allocations: 0.7805 MB / 1.169 GB, free: 4.594 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007682/1.029, allocations: 2.021 MB / 1.171 GB, free: 3.918 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.007031/1.036, allocations: 3.056 MB / 1.174 GB, free: 1.969 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.01213/1.049, allocations: 3.406 MB / 1.177 GB, free: 15.55 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.02104/1.07, allocations: 11.98 MB / 1.189 GB, free: 6.109 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 7.304e-06/1.07, allocations: 4 kB / 1.189 GB, free: 6.105 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.174e-06/1.07, allocations: 0 / 1.189 GB, free: 6.105 MB / 0.92 GB Notification: Performance of Transformations before backend: time 0.0004064/1.07, allocations: 0 / 1.189 GB, free: 6.105 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1488 * Number of variables: 1488 Notification: Performance of Generate backend data structure: time 0.0186/1.089, allocations: 5.803 MB / 1.195 GB, free: 236 kB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 6.099e-05/1.089, allocations: 8.031 kB / 1.195 GB, free: 228 kB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00341/1.092, allocations: 0.8012 MB / 1.195 GB, free: 15.41 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007232/1.099, allocations: 1.064 MB / 1.196 GB, free: 14.34 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008094/1.108, allocations: 3.457 MB / 1.2 GB, free: 10.82 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003731/1.108, allocations: 419.5 kB / 1.2 GB, free: 10.41 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001999/1.11, allocations: 0.5315 MB / 1.201 GB, free: 9.883 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0194/1.129, allocations: 9.079 MB / 1.21 GB, free: 496 kB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001683/1.13, allocations: 35.67 kB / 1.21 GB, free: 460 kB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006915/1.13, allocations: 243.9 kB / 1.21 GB, free: 216 kB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000411/1.131, allocations: 346.8 kB / 1.21 GB, free: 15.87 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01318/1.144, allocations: 6.822 MB / 1.217 GB, free: 9.039 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04435/1.188, allocations: 39.79 MB / 1.256 GB, free: 13.53 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003985/1.192, allocations: 3.113 MB / 1.259 GB, free: 10.28 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002625/1.195, allocations: 1.985 MB / 1.261 GB, free: 8.301 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 9.75e-05/1.195, allocations: 18 kB / 1.261 GB, free: 8.285 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.988e-05/1.195, allocations: 56.5 kB / 1.261 GB, free: 8.219 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=179): time 3.797e-06/1.195, allocations: 4 kB / 1.261 GB, free: 8.215 MB / 0.9981 GB Notification: Performance of matching and sorting (n=182): time 0.02445/1.22, allocations: 9.977 MB / 1.271 GB, free: 14.14 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.6e-05/1.22, allocations: 69.41 kB / 1.271 GB, free: 14.06 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001978/1.222, allocations: 1.53 MB / 1.272 GB, free: 12.48 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.00021/1.222, allocations: 53.7 kB / 1.272 GB, free: 12.43 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.001335/1.223, allocations: 2.253 MB / 1.274 GB, free: 10.14 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006281/1.224, allocations: 0.6316 MB / 1.275 GB, free: 9.504 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006154/1.225, allocations: 411.9 kB / 1.275 GB, free: 9.094 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001017/1.225, allocations: 305.1 kB / 1.276 GB, free: 8.793 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001578/1.226, allocations: 1.179 MB / 1.277 GB, free: 7.609 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002016/1.228, allocations: 1.885 MB / 1.279 GB, free: 5.398 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004192/1.232, allocations: 3.375 MB / 1.282 GB, free: 1.711 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-05/1.232, allocations: 4 kB / 1.282 GB, free: 1.707 MB / 1.014 GB Notification: Performance of matching and sorting (n=285) (initialization): time 0.00785/1.24, allocations: 4.577 MB / 1.286 GB, free: 13.11 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 4.333e-05/1.24, allocations: 19.98 kB / 1.286 GB, free: 13.09 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.366e-05/1.24, allocations: 24 kB / 1.286 GB, free: 13.06 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003649/1.244, allocations: 1.581 MB / 1.288 GB, free: 11.47 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001331/1.245, allocations: 347.4 kB / 1.288 GB, free: 11.13 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02224/1.268, allocations: 18.58 MB / 1.307 GB, free: 7.988 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002218/1.27, allocations: 119.9 kB / 1.307 GB, free: 7.871 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002769/1.27, allocations: 95.98 kB / 1.307 GB, free: 7.777 MB / 1.045 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (177): * Single equations (assignments): 173 * 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 {(12,26,30.6%), (6,24,66.7%), (6,16,66.7%), (6,16,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003997/1.274, allocations: 1.894 MB / 1.309 GB, free: 5.871 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005365/1.275, allocations: 221.4 kB / 1.309 GB, free: 5.652 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006726/1.282, allocations: 4.098 MB / 1.313 GB, free: 1.527 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-05/1.282, allocations: 16 kB / 1.313 GB, free: 1.512 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.7e-05/1.282, allocations: 16 kB / 1.313 GB, free: 1.496 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.211e-05/1.282, allocations: 19.83 kB / 1.313 GB, free: 1.477 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0167/1.298, allocations: 9.461 MB / 1.322 GB, free: 7.77 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-05/1.298, allocations: 4 kB / 1.322 GB, free: 7.766 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008215/1.299, allocations: 183.7 kB / 1.322 GB, free: 7.586 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003328/1.303, allocations: 1.36 MB / 1.324 GB, free: 6.219 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001727/1.303, allocations: 36 kB / 1.324 GB, free: 6.184 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02042/1.323, allocations: 17.35 MB / 1.341 GB, free: 4.266 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.072e-06/1.323, allocations: 12 kB / 1.341 GB, free: 4.254 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006828/1.33, allocations: 4.07 MB / 1.345 GB, free: 92 kB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001589/1.332, allocations: 0.5294 MB / 1.345 GB, free: 15.54 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003148/1.332, allocations: 36 kB / 1.345 GB, free: 15.5 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000951/1.333, allocations: 87.89 kB / 1.345 GB, free: 15.42 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005042/1.334, allocations: 161.7 kB / 1.345 GB, free: 15.26 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001072/1.334, allocations: 48 kB / 1.345 GB, free: 15.21 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.001311/1.335, allocations: 1.005 MB / 1.346 GB, free: 14.19 MB / 1.092 GB Notification: Performance of sort global known variables: time 2.51e-07/1.335, allocations: 0 / 1.346 GB, free: 14.19 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.004252/1.339, allocations: 0.9844 MB / 1.347 GB, free: 13.2 MB / 1.092 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 (85): * Single equations (assignments): 81 * 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 {(6,16,66.7%), (6,16,66.7%), (6,24,66.7%), (6,24,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.007251/1.346, allocations: 4.668 MB / 1.352 GB, free: 8.434 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.006906/1.353, allocations: 4.292 MB / 1.356 GB, free: 4.098 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 9.478e-06/1.353, allocations: 4 kB / 1.356 GB, free: 4.094 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.004288/1.358, allocations: 2.678 MB / 1.359 GB, free: 1.367 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003736/1.361, allocations: 0.7716 MB / 1.359 GB, free: 0.6211 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04275/1.404, allocations: 26.83 MB / 1.386 GB, free: 4.707 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004636/1.409, allocations: 3.577 MB / 1.389 GB, free: 1.098 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.001533/1.411, allocations: 459.9 kB / 1.39 GB, free: 0.6445 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00203/1.413, allocations: 1.788 MB / 1.391 GB, free: 14.86 MB / 1.139 GB Notification: Performance of SimCode: time 7.21e-07/1.413, allocations: 0 / 1.391 GB, free: 14.86 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1581/1.571, allocations: 74.58 MB / 1.464 GB, free: 4.984 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.37/14.95, allocations: 2.344 kB / 1.464 GB, free: 4.984 MB / 1.201 GB (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N.fmu > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches