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.004818/0.004818, allocations: 100.2 kB / 15.73 MB, free: 6.469 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.001135/0.001135, allocations: 193.1 kB / 16.67 MB, free: 6.379 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.307/1.307, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.623/2.623, allocations: 461.9 MB / 0.7348 GB, free: 14.57 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001279/0.001279, allocations: 63.89 kB / 1.054 GB, free: 7.637 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2965/0.2978, allocations: 157.4 MB / 1.207 GB, free: 10.14 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N): time 0.01285/0.3107, allocations: 10.1 MB / 1.217 GB, free: 15.99 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.006495/0.3172, allocations: 3.185 MB / 1.22 GB, free: 12.8 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001021/0.3183, allocations: 35.81 kB / 1.22 GB, free: 12.76 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001838/0.3201, allocations: 0.5829 MB / 1.221 GB, free: 12.18 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001875/0.322, allocations: 0.7349 MB / 1.222 GB, free: 11.44 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001722/0.3238, allocations: 0.7579 MB / 1.222 GB, free: 10.68 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.003387/0.3272, allocations: 2.984 MB / 1.225 GB, free: 7.688 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003142/0.3303, allocations: 2.594 MB / 1.228 GB, free: 5.055 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00197/0.3323, allocations: 1.262 MB / 1.229 GB, free: 3.789 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002406/0.3347, allocations: 1.562 MB / 1.231 GB, free: 2.223 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0006179/0.3354, allocations: 240 kB / 1.231 GB, free: 1.988 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001311/0.3367, allocations: 0.4994 MB / 1.231 GB, free: 1.488 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0014/0.3381, allocations: 1.072 MB / 1.232 GB, free: 424 kB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.00202/0.3401, allocations: 1.116 MB / 1.233 GB, free: 15.29 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.00438/0.3445, allocations: 3.677 MB / 1.237 GB, free: 11.61 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 7.224e-06/0.3446, allocations: 0 / 1.237 GB, free: 11.61 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.565e-06/0.3446, allocations: 0 / 1.237 GB, free: 11.61 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0001214/0.3447, allocations: 0 / 1.237 GB, free: 11.61 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.005861/0.3506, allocations: 2.15 MB / 1.239 GB, free: 9.398 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.522e-05/0.3506, allocations: 12.62 kB / 1.239 GB, free: 9.387 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006641/0.3513, allocations: 261.2 kB / 1.239 GB, free: 9.121 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008909/0.3602, allocations: 1.309 MB / 1.241 GB, free: 7.809 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0034/0.3637, allocations: 1.302 MB / 1.242 GB, free: 6.461 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001141/0.3638, allocations: 115.4 kB / 1.242 GB, free: 6.348 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006606/0.3645, allocations: 148.2 kB / 1.242 GB, free: 6.203 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006461/0.3709, allocations: 3.437 MB / 1.245 GB, free: 2.668 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.873e-05/0.371, allocations: 3.938 kB / 1.245 GB, free: 2.664 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003141/0.3713, allocations: 67.95 kB / 1.246 GB, free: 2.598 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002533/0.3716, allocations: 207.1 kB / 1.246 GB, free: 2.395 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.5619/0.9335, allocations: 3.127 MB / 1.249 GB, free: 36.21 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01684/0.9504, allocations: 13.52 MB / 1.262 GB, free: 29.98 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002433/0.9529, allocations: 1.729 MB / 1.264 GB, free: 29.93 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002211/0.9551, allocations: 1.441 MB / 1.265 GB, free: 29.91 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001123/0.9553, allocations: 17.52 kB / 1.265 GB, free: 29.91 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.583e-05/0.9553, allocations: 45.91 kB / 1.265 GB, free: 29.87 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=104): time 3.166e-06/0.9553, allocations: 0 / 1.265 GB, free: 29.87 MB / 0.9981 GB Notification: Performance of matching and sorting (n=183): time 0.1496/1.105, allocations: 36.7 MB / 1.301 GB, free: 23.36 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.705e-05/1.105, allocations: 70.59 kB / 1.301 GB, free: 23.3 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001499/1.107, allocations: 1.048 MB / 1.302 GB, free: 22.71 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.000329/1.107, allocations: 54.83 kB / 1.302 GB, free: 22.66 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003835/1.107, allocations: 0.7895 MB / 1.303 GB, free: 21.96 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005825/1.108, allocations: 0.6216 MB / 1.304 GB, free: 21.43 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009037/1.109, allocations: 371.1 kB / 1.304 GB, free: 21.24 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.33e-05/1.109, allocations: 305.1 kB / 1.304 GB, free: 20.94 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00256/1.111, allocations: 1.925 MB / 1.306 GB, free: 19.95 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002742/1.114, allocations: 2.29 MB / 1.308 GB, free: 18.55 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00534/1.119, allocations: 4.387 MB / 1.313 GB, free: 16.06 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-05/1.12, allocations: 2.594 kB / 1.313 GB, free: 16.06 MB / 0.9981 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.01832/1.138, allocations: 9.025 MB / 1.321 GB, free: 11.01 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.043e-05/1.138, allocations: 9.938 kB / 1.321 GB, free: 11.01 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.081e-05/1.138, allocations: 11.47 kB / 1.321 GB, free: 11 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01532/1.153, allocations: 4.98 MB / 1.326 GB, free: 6.777 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007981/1.154, allocations: 196.4 kB / 1.326 GB, free: 6.586 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05398/1.208, allocations: 38.88 MB / 1.364 GB, free: 15.16 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002098/1.21, allocations: 100.7 kB / 1.365 GB, free: 15.06 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003642/1.211, allocations: 67.98 kB / 1.365 GB, free: 15 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.001467/1.212, allocations: 0.8063 MB / 1.365 GB, free: 14.18 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004178/1.213, allocations: 142.3 kB / 1.366 GB, free: 14.04 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01945/1.232, allocations: 8.897 MB / 1.374 GB, free: 5.105 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.113e-05/1.232, allocations: 16 kB / 1.374 GB, free: 5.09 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.683e-05/1.232, allocations: 37.55 kB / 1.374 GB, free: 5.055 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.542e-05/1.232, allocations: 7.969 kB / 1.374 GB, free: 5.047 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0272/1.259, allocations: 13.4 MB / 1.387 GB, free: 7.539 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.265e-05/1.259, allocations: 4 kB / 1.387 GB, free: 7.535 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004958/1.26, allocations: 119.8 kB / 1.387 GB, free: 7.418 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01647/1.276, allocations: 4.84 MB / 1.392 GB, free: 2.562 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004582/1.277, allocations: 32 kB / 1.392 GB, free: 2.531 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05252/1.329, allocations: 36.82 MB / 1.428 GB, free: 13.16 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.412e-06/1.329, allocations: 7.938 kB / 1.428 GB, free: 13.15 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01925/1.349, allocations: 8.596 MB / 1.437 GB, free: 4.461 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00183/1.351, allocations: 0.6359 MB / 1.437 GB, free: 3.805 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005065/1.351, allocations: 36 kB / 1.437 GB, free: 3.77 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001574/1.353, allocations: 87.83 kB / 1.437 GB, free: 3.684 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008902/1.354, allocations: 169.6 kB / 1.437 GB, free: 3.516 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002112/1.354, allocations: 48 kB / 1.438 GB, free: 3.469 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.001129/1.355, allocations: 0.7382 MB / 1.438 GB, free: 2.719 MB / 1.107 GB Notification: Performance of sort global known variables: time 1.593e-06/1.355, allocations: 0 / 1.438 GB, free: 2.719 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.003365/1.358, allocations: 1.008 MB / 1.439 GB, free: 1.711 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.01911/1.377, allocations: 9.183 MB / 1.448 GB, free: 8.434 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.01004/1.388, allocations: 5.947 MB / 1.454 GB, free: 2.449 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 6.933e-06/1.388, allocations: 4.188 kB / 1.454 GB, free: 2.445 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.007893/1.396, allocations: 3.933 MB / 1.458 GB, free: 14.46 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002124/1.398, allocations: 250.7 kB / 1.458 GB, free: 14.23 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05842/1.456, allocations: 31.02 MB / 1.488 GB, free: 14.71 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002259/1.458, allocations: 1.863 MB / 1.49 GB, free: 12.81 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.0008953/1.459, allocations: 359.2 kB / 1.491 GB, free: 12.46 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008147/1.46, allocations: 0.6047 MB / 1.491 GB, free: 11.86 MB / 1.17 GB Notification: Performance of SimCode: time 3.787e-06/1.46, allocations: 0 / 1.491 GB, free: 11.86 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1165/1.577, allocations: 77.89 MB / 1.567 GB, free: 14.32 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.44/13.01, allocations: 19.03 kB / 1.567 GB, free: 14.3 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