Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.ACLineMatrix_RLC_N,fileNamePrefix="Buildings_latest_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_latest_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.00417/0.00417, allocations: 105.4 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.001017/0.001017, allocations: 199.9 kB / 16.68 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.274/1.274, allocations: 222.9 MB / 240.4 MB, free: 4.156 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.552/2.552, allocations: 461.9 MB / 0.7348 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001145/0.001145, allocations: 63.91 kB / 1.054 GB, free: 7.656 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2698/0.271, allocations: 157.4 MB / 1.207 GB, free: 10.16 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N): time 0.01273/0.2838, allocations: 10.1 MB / 1.217 GB, free: 8 kB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.00614/0.2899, allocations: 3.178 MB / 1.22 GB, free: 12.82 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008244/0.2908, allocations: 39.81 kB / 1.22 GB, free: 12.78 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001912/0.2927, allocations: 0.5919 MB / 1.221 GB, free: 12.19 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.00173/0.2945, allocations: 0.7348 MB / 1.222 GB, free: 11.45 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001639/0.2961, allocations: 0.752 MB / 1.222 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.003091/0.2992, allocations: 2.988 MB / 1.225 GB, free: 7.703 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002851/0.3021, allocations: 2.591 MB / 1.228 GB, free: 5.074 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001597/0.3037, allocations: 1.258 MB / 1.229 GB, free: 3.812 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002525/0.3062, allocations: 1.558 MB / 1.231 GB, free: 2.25 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0007148/0.3069, allocations: 232 kB / 1.231 GB, free: 2.023 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001523/0.3085, allocations: 0.5033 MB / 1.231 GB, free: 1.52 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.001536/0.31, allocations: 1.076 MB / 1.232 GB, free: 452 kB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.00132/0.3114, allocations: 1.109 MB / 1.233 GB, free: 15.33 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.003251/0.3146, allocations: 3.677 MB / 1.237 GB, free: 11.64 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 9.338e-06/0.3146, allocations: 7.938 kB / 1.237 GB, free: 11.63 MB / 0.9981 GB Notification: Performance of FrontEnd: time 3.687e-06/0.3146, allocations: 0 / 1.237 GB, free: 11.63 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 3.404e-05/0.3147, allocations: 3.938 kB / 1.237 GB, free: 11.63 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: 439 * Number of variables: 439 Notification: Performance of Generate backend data structure: time 0.003921/0.3186, allocations: 2.138 MB / 1.239 GB, free: 9.434 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.195e-05/0.3187, allocations: 12.62 kB / 1.239 GB, free: 9.422 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003161/0.319, allocations: 265.2 kB / 1.239 GB, free: 9.152 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008757/0.3278, allocations: 1.305 MB / 1.241 GB, free: 7.844 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002682/0.3304, allocations: 1.302 MB / 1.242 GB, free: 6.496 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.447e-05/0.3305, allocations: 119.4 kB / 1.242 GB, free: 6.379 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003972/0.331, allocations: 148.2 kB / 1.242 GB, free: 6.234 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005311/0.3363, allocations: 3.437 MB / 1.245 GB, free: 2.699 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.247e-05/0.3363, allocations: 12 kB / 1.245 GB, free: 2.688 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002169/0.3366, allocations: 63.95 kB / 1.246 GB, free: 2.625 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002587/0.3368, allocations: 207.1 kB / 1.246 GB, free: 2.422 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.5178/0.8547, allocations: 3.124 MB / 1.249 GB, free: 36.43 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.017/0.8717, allocations: 13.52 MB / 1.262 GB, free: 30.2 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002342/0.8741, allocations: 1.736 MB / 1.264 GB, free: 30.14 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002126/0.8762, allocations: 1.446 MB / 1.265 GB, free: 30.12 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 8.216e-05/0.8763, allocations: 14.78 kB / 1.265 GB, free: 30.12 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.579e-05/0.8764, allocations: 40.22 kB / 1.265 GB, free: 30.08 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=104): time 2.785e-06/0.8764, allocations: 0.5938 kB / 1.265 GB, free: 30.08 MB / 0.9981 GB Notification: Performance of matching and sorting (n=183): time 0.1466/1.023, allocations: 36.69 MB / 1.301 GB, free: 23.22 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.64e-05/1.023, allocations: 74.88 kB / 1.301 GB, free: 23.16 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001366/1.024, allocations: 1.055 MB / 1.302 GB, free: 22.57 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0002919/1.025, allocations: 51.95 kB / 1.302 GB, free: 22.52 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003171/1.025, allocations: 0.7881 MB / 1.303 GB, free: 21.82 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004072/1.025, allocations: 0.6219 MB / 1.304 GB, free: 21.28 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006866/1.026, allocations: 370.5 kB / 1.304 GB, free: 21.09 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.139e-05/1.026, allocations: 301.1 kB / 1.304 GB, free: 20.8 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002508/1.029, allocations: 1.93 MB / 1.306 GB, free: 19.81 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002462/1.031, allocations: 2.285 MB / 1.308 GB, free: 18.41 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004912/1.036, allocations: 4.387 MB / 1.313 GB, free: 15.92 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.644e-06/1.036, allocations: 2.75 kB / 1.313 GB, free: 15.92 MB / 0.9981 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.01832/1.054, allocations: 9.025 MB / 1.321 GB, free: 10.87 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.677e-05/1.054, allocations: 15.88 kB / 1.321 GB, free: 10.86 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.769e-05/1.055, allocations: 8.344 kB / 1.321 GB, free: 10.86 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01491/1.069, allocations: 4.979 MB / 1.326 GB, free: 6.473 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007744/1.07, allocations: 191.7 kB / 1.326 GB, free: 6.285 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05447/1.125, allocations: 38.89 MB / 1.364 GB, free: 14.86 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002091/1.127, allocations: 99.89 kB / 1.365 GB, free: 14.76 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002472/1.127, allocations: 64 kB / 1.365 GB, free: 14.7 MB / 1.045 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.001322/1.128, allocations: 0.8063 MB / 1.365 GB, free: 13.88 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000323/1.129, allocations: 146.2 kB / 1.365 GB, free: 13.74 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01951/1.148, allocations: 8.891 MB / 1.374 GB, free: 4.809 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.552e-05/1.148, allocations: 20 kB / 1.374 GB, free: 4.789 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.566e-05/1.148, allocations: 35.98 kB / 1.374 GB, free: 4.754 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.908e-05/1.148, allocations: 7.969 kB / 1.374 GB, free: 4.746 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02586/1.174, allocations: 13.4 MB / 1.387 GB, free: 7.238 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-05/1.174, allocations: 7.938 kB / 1.387 GB, free: 7.23 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004607/1.175, allocations: 123.5 kB / 1.387 GB, free: 7.113 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01614/1.191, allocations: 4.833 MB / 1.392 GB, free: 2.266 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001846/1.191, allocations: 32 kB / 1.392 GB, free: 2.234 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0528/1.244, allocations: 36.83 MB / 1.428 GB, free: 12.83 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.332e-06/1.244, allocations: 9.719 kB / 1.428 GB, free: 12.82 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01891/1.263, allocations: 8.596 MB / 1.437 GB, free: 4.137 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001587/1.264, allocations: 0.632 MB / 1.437 GB, free: 3.484 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002714/1.265, allocations: 39.94 kB / 1.437 GB, free: 3.445 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001302/1.266, allocations: 95.81 kB / 1.437 GB, free: 3.352 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007673/1.267, allocations: 161.7 kB / 1.437 GB, free: 3.191 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001451/1.267, allocations: 48 kB / 1.438 GB, free: 3.145 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.0009268/1.268, allocations: 0.7382 MB / 1.438 GB, free: 2.395 MB / 1.107 GB Notification: Performance of sort global known variables: time 1.4e-07/1.268, allocations: 0 / 1.438 GB, free: 2.395 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.002747/1.271, allocations: 1.004 MB / 1.439 GB, free: 1.391 MB / 1.107 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.01957/1.29, allocations: 9.179 MB / 1.448 GB, free: 8.113 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.009788/1.3, allocations: 5.946 MB / 1.454 GB, free: 2.121 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 5.811e-06/1.3, allocations: 0 / 1.454 GB, free: 2.121 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.007969/1.308, allocations: 3.939 MB / 1.458 GB, free: 14.13 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001461/1.31, allocations: 242.3 kB / 1.458 GB, free: 13.9 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05611/1.366, allocations: 31.03 MB / 1.488 GB, free: 14.36 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001629/1.367, allocations: 1.855 MB / 1.49 GB, free: 12.47 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.0007874/1.368, allocations: 357.4 kB / 1.491 GB, free: 12.12 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006601/1.369, allocations: 0.6125 MB / 1.491 GB, free: 11.51 MB / 1.17 GB Notification: Performance of SimCode: time 5.92e-07/1.369, allocations: 0 / 1.491 GB, free: 11.51 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1109/1.48, allocations: 76.15 MB / 1.565 GB, free: 15.72 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.32/12.8, allocations: 8.188 kB / 1.565 GB, free: 15.71 MB / 1.248 GB (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches