Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_RLC,fileNamePrefix="Buildings_10_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC,fileNamePrefix="Buildings_10_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC",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.004656/0.004656, allocations: 96.56 kB / 15.73 MB, free: 6.035 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.001255/0.001255, allocations: 194.6 kB / 16.67 MB, free: 5.965 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.297/1.297, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.396/2.396, allocations: 437.1 MB / 0.7106 GB, free: 5.031 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001747/0.001747, allocations: 63.91 kB / 1.018 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2514/0.2531, allocations: 151.6 MB / 1.166 GB, free: 7.305 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC): time 0.01144/0.2646, allocations: 10.02 MB / 1.176 GB, free: 13.23 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.004484/0.2691, allocations: 3.033 MB / 1.179 GB, free: 10.18 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002653/0.2694, allocations: 39.81 kB / 1.179 GB, free: 10.14 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.001571/0.2709, allocations: 0.6841 MB / 1.18 GB, free: 9.457 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.001083/0.272, allocations: 0.6922 MB / 1.18 GB, free: 8.762 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001099/0.2731, allocations: 0.6469 MB / 1.181 GB, free: 8.117 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.002421/0.2756, allocations: 2.73 MB / 1.184 GB, free: 5.379 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002578/0.2782, allocations: 2.535 MB / 1.186 GB, free: 2.801 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001117/0.2793, allocations: 1.13 MB / 1.187 GB, free: 1.668 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001551/0.2809, allocations: 1.379 MB / 1.189 GB, free: 292 kB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.000266/0.2811, allocations: 216 kB / 1.189 GB, free: 76 kB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007587/0.2819, allocations: 487.4 kB / 1.189 GB, free: 15.6 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0008735/0.2828, allocations: 0.9785 MB / 1.19 GB, free: 14.62 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.000958/0.2837, allocations: 1.015 MB / 1.191 GB, free: 13.6 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.002911/0.2867, allocations: 3.411 MB / 1.195 GB, free: 10.18 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 6.182e-06/0.2867, allocations: 7.922 kB / 1.195 GB, free: 10.17 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.172e-06/0.2867, allocations: 4 kB / 1.195 GB, free: 10.16 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.658e-05/0.2867, allocations: 0 / 1.195 GB, free: 10.16 MB / 0.9512 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 419 * Number of variables: 419 Notification: Performance of Generate backend data structure: time 0.003046/0.2898, allocations: 1.988 MB / 1.196 GB, free: 8.117 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.674e-05/0.2898, allocations: 12.03 kB / 1.196 GB, free: 8.105 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002977/0.2901, allocations: 252.7 kB / 1.197 GB, free: 7.848 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005325/0.2954, allocations: 0.8932 MB / 1.198 GB, free: 6.953 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00168/0.2971, allocations: 1.173 MB / 1.199 GB, free: 5.738 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.339e-05/0.2972, allocations: 111.3 kB / 1.199 GB, free: 5.629 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002438/0.2975, allocations: 136.4 kB / 1.199 GB, free: 5.496 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004141/0.3016, allocations: 3.021 MB / 1.202 GB, free: 2.375 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.291e-05/0.3017, allocations: 7.938 kB / 1.202 GB, free: 2.367 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001762/0.3018, allocations: 59.98 kB / 1.202 GB, free: 2.309 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002085/0.3021, allocations: 183 kB / 1.202 GB, free: 2.129 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003748/0.3058, allocations: 2.608 MB / 1.205 GB, free: 15.51 MB / 0.9669 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01418/0.32, allocations: 13.52 MB / 1.218 GB, free: 0.9023 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001865/0.3219, allocations: 1.289 MB / 1.219 GB, free: 15.6 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001353/0.3232, allocations: 1.058 MB / 1.22 GB, free: 14.54 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 6.194e-05/0.3233, allocations: 8.656 kB / 1.22 GB, free: 14.53 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.937e-05/0.3233, allocations: 43.16 kB / 1.22 GB, free: 14.48 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=82): time 1.964e-06/0.3233, allocations: 0 / 1.22 GB, free: 14.48 MB / 0.9825 GB Notification: Performance of matching and sorting (n=139): time 0.07113/0.3945, allocations: 19.41 MB / 1.239 GB, free: 10.93 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.323e-05/0.3946, allocations: 68.72 kB / 1.239 GB, free: 10.85 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001095/0.3957, allocations: 0.9184 MB / 1.24 GB, free: 9.922 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001012/0.3958, allocations: 45.7 kB / 1.24 GB, free: 9.871 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005005/0.3963, allocations: 0.7501 MB / 1.241 GB, free: 9.109 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004155/0.3967, allocations: 0.4996 MB / 1.241 GB, free: 8.605 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000563/0.3973, allocations: 291.5 kB / 1.242 GB, free: 8.316 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001713/0.3974, allocations: 357.9 kB / 1.242 GB, free: 7.961 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001896/0.3994, allocations: 1.335 MB / 1.243 GB, free: 6.625 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00214/0.4015, allocations: 1.663 MB / 1.245 GB, free: 4.848 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004067/0.4056, allocations: 3.086 MB / 1.248 GB, free: 1.641 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.888e-06/0.4056, allocations: 0 / 1.248 GB, free: 1.641 MB / 0.9981 GB Notification: Performance of matching and sorting (n=191) (initialization): time 0.4399/0.8455, allocations: 5.642 MB / 1.254 GB, free: 77.42 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.615e-05/0.8455, allocations: 9.188 kB / 1.254 GB, free: 77.42 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.528e-05/0.8455, allocations: 8.656 kB / 1.254 GB, free: 77.42 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008335/0.8539, allocations: 2.716 MB / 1.256 GB, free: 77 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006912/0.8546, allocations: 197.6 kB / 1.256 GB, free: 76.97 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03022/0.8848, allocations: 25.72 MB / 1.281 GB, free: 63.75 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001238/0.8861, allocations: 95.22 kB / 1.282 GB, free: 63.73 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000117/0.8862, allocations: 57.69 kB / 1.282 GB, free: 63.71 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * 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 (99): * Single equations (assignments): 95 * 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,12,100.0%), (6,12,100.0%), (6,24,100.0%), (6,24,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0009091/0.8871, allocations: 0.7366 MB / 1.282 GB, free: 63.36 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001925/0.8873, allocations: 122 kB / 1.282 GB, free: 63.3 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01022/0.8976, allocations: 5.393 MB / 1.288 GB, free: 61.54 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.028e-05/0.8976, allocations: 18.06 kB / 1.288 GB, free: 61.53 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.841e-05/0.8976, allocations: 17.69 kB / 1.288 GB, free: 61.53 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.241e-05/0.8976, allocations: 8.125 kB / 1.288 GB, free: 61.53 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01293/0.9106, allocations: 8.696 MB / 1.296 GB, free: 58.45 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.406e-06/0.9106, allocations: 13.5 kB / 1.296 GB, free: 58.45 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003879/0.911, allocations: 117.2 kB / 1.296 GB, free: 58.44 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007273/0.9183, allocations: 2.594 MB / 1.299 GB, free: 57.77 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.953e-05/0.9184, allocations: 30.06 kB / 1.299 GB, free: 57.75 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02514/0.9435, allocations: 24.17 MB / 1.323 GB, free: 41.43 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.937e-06/0.9435, allocations: 8.219 kB / 1.323 GB, free: 41.43 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008329/0.9519, allocations: 5.25 MB / 1.328 GB, free: 38.09 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005392/0.9524, allocations: 0.4884 MB / 1.328 GB, free: 37.59 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001788/0.9526, allocations: 28 kB / 1.328 GB, free: 37.56 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008023/0.9534, allocations: 79.89 kB / 1.328 GB, free: 37.48 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003465/0.9538, allocations: 117 kB / 1.328 GB, free: 37.37 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.004e-05/0.9539, allocations: 40 kB / 1.328 GB, free: 37.33 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0005368/0.9544, allocations: 0.6473 MB / 1.329 GB, free: 36.68 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9544, allocations: 3.938 kB / 1.329 GB, free: 36.68 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001699/0.9561, allocations: 0.7188 MB / 1.33 GB, free: 35.96 MB / 0.9981 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 (62): * Single equations (assignments): 58 * 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,12,100.0%), (6,24,100.0%), (6,6,100.0%), (10,14,84.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.008403/0.9645, allocations: 5.847 MB / 1.335 GB, free: 30.04 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.005095/0.9696, allocations: 4.229 MB / 1.34 GB, free: 25.76 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.9697, allocations: 0 / 1.34 GB, free: 25.76 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.00378/0.9734, allocations: 2.722 MB / 1.342 GB, free: 22.99 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009724/0.9744, allocations: 215.6 kB / 1.342 GB, free: 22.79 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.026/1, allocations: 21.45 MB / 1.363 GB, free: 0.9062 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00119/1.002, allocations: 1.704 MB / 1.365 GB, free: 15.17 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0006342/1.002, allocations: 329.4 kB / 1.365 GB, free: 14.85 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00063/1.003, allocations: 0.5305 MB / 1.366 GB, free: 14.32 MB / 1.014 GB Notification: Performance of SimCode: time 4.61e-07/1.003, allocations: 4 kB / 1.366 GB, free: 14.31 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.207/2.21, allocations: 52.7 MB / 1.417 GB, free: 9.973 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.37/16.58, allocations: 7.312 kB / 1.417 GB, free: 9.969 MB / 1.061 GB (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_res.mat --tempDir=temp_Buildings_10_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC.fmu > Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches