Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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,fileNamePrefix="Buildings_latest_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_latest_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.007495/0.007495, allocations: 104.1 kB / 15.74 MB, free: 6.047 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.001741/0.001741, allocations: 188 kB / 16.67 MB, free: 5.969 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.327/1.327, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.455/2.455, allocations: 461.9 MB / 0.7348 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001386/0.001386, allocations: 71.81 kB / 1.054 GB, free: 8.203 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7644/0.7658, allocations: 157.4 MB / 1.207 GB, free: 13.59 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC): time 0.01206/0.7779, allocations: 10.03 MB / 1.217 GB, free: 3.523 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.005609/0.7835, allocations: 3.045 MB / 1.22 GB, free: 484 kB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009332/0.7845, allocations: 39.81 kB / 1.22 GB, free: 444 kB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.002161/0.7867, allocations: 0.6764 MB / 1.221 GB, free: 15.75 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.001711/0.7884, allocations: 0.6882 MB / 1.221 GB, free: 15.06 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.001462/0.7899, allocations: 0.6445 MB / 1.222 GB, free: 14.42 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.002633/0.7925, allocations: 2.73 MB / 1.225 GB, free: 11.68 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002909/0.7954, allocations: 2.525 MB / 1.227 GB, free: 9.113 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001537/0.797, allocations: 1.141 MB / 1.228 GB, free: 7.969 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001978/0.799, allocations: 1.379 MB / 1.23 GB, free: 6.586 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0005599/0.7996, allocations: 216 kB / 1.23 GB, free: 6.375 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001221/0.8008, allocations: 487.4 kB / 1.23 GB, free: 5.898 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.001285/0.8021, allocations: 0.9863 MB / 1.231 GB, free: 4.91 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.001695/0.8038, allocations: 1.015 MB / 1.232 GB, free: 3.891 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.003101/0.8069, allocations: 3.408 MB / 1.236 GB, free: 484 kB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 6.813e-06/0.8069, allocations: 4 kB / 1.236 GB, free: 480 kB / 0.9512 GB Notification: Performance of FrontEnd: time 1.423e-06/0.8069, allocations: 0 / 1.236 GB, free: 480 kB / 0.9512 GB Notification: Performance of Transformations before backend: time 3.113e-05/0.807, allocations: 0 / 1.236 GB, free: 480 kB / 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.002949/0.8099, allocations: 1.943 MB / 1.237 GB, free: 14.47 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.286e-05/0.81, allocations: 12.03 kB / 1.237 GB, free: 14.46 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002688/0.8102, allocations: 252.7 kB / 1.238 GB, free: 14.2 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005142/0.8154, allocations: 0.8883 MB / 1.239 GB, free: 13.31 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002071/0.8175, allocations: 1.157 MB / 1.24 GB, free: 12.11 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.679e-05/0.8176, allocations: 111.3 kB / 1.24 GB, free: 12 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002335/0.8178, allocations: 144.2 kB / 1.24 GB, free: 11.86 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00423/0.8221, allocations: 3.021 MB / 1.243 GB, free: 8.738 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.405e-05/0.8221, allocations: 11.88 kB / 1.243 GB, free: 8.727 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001905/0.8223, allocations: 67.91 kB / 1.243 GB, free: 8.66 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001954/0.8225, allocations: 179 kB / 1.243 GB, free: 8.484 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003537/0.826, allocations: 2.608 MB / 1.246 GB, free: 5.871 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.0141/0.8402, allocations: 13.48 MB / 1.259 GB, free: 7.285 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001778/0.842, allocations: 1.291 MB / 1.26 GB, free: 5.98 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001215/0.8432, allocations: 1.05 MB / 1.261 GB, free: 4.93 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 5.706e-05/0.8433, allocations: 8.656 kB / 1.261 GB, free: 4.918 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.667e-05/0.8433, allocations: 43.22 kB / 1.261 GB, free: 4.867 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=82): time 2.665e-06/0.8433, allocations: 0 / 1.261 GB, free: 4.867 MB / 0.9825 GB Notification: Performance of matching and sorting (n=139): time 0.06322/0.9065, allocations: 19.39 MB / 1.28 GB, free: 1.332 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.098e-05/0.9066, allocations: 76.66 kB / 1.28 GB, free: 1.242 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001198/0.9078, allocations: 0.9105 MB / 1.281 GB, free: 332 kB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.000125/0.908, allocations: 53.7 kB / 1.281 GB, free: 272 kB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004435/0.9084, allocations: 0.7244 MB / 1.282 GB, free: 15.53 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004003/0.9088, allocations: 489 kB / 1.282 GB, free: 15.04 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005608/0.9094, allocations: 295.4 kB / 1.283 GB, free: 14.75 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001309/0.9095, allocations: 349.9 kB / 1.283 GB, free: 14.4 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00169/0.9112, allocations: 1.335 MB / 1.284 GB, free: 13.06 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001873/0.9131, allocations: 1.655 MB / 1.286 GB, free: 11.29 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003678/0.9168, allocations: 3.1 MB / 1.289 GB, free: 8.074 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.148e-06/0.9168, allocations: 0 / 1.289 GB, free: 8.074 MB / 1.014 GB Notification: Performance of matching and sorting (n=191) (initialization): time 0.01067/0.9275, allocations: 5.63 MB / 1.294 GB, free: 2.418 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 3.435e-05/0.9276, allocations: 11.94 kB / 1.294 GB, free: 2.406 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.499e-05/0.9276, allocations: 12 kB / 1.294 GB, free: 2.395 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008227/0.9358, allocations: 2.721 MB / 1.297 GB, free: 15.66 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007989/0.9367, allocations: 187.7 kB / 1.297 GB, free: 15.48 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03258/0.9693, allocations: 25.71 MB / 1.322 GB, free: 5.203 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001338/0.9706, allocations: 91.95 kB / 1.322 GB, free: 5.113 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002754/0.9709, allocations: 59.98 kB / 1.323 GB, free: 5.055 MB / 1.045 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.001302/0.9722, allocations: 0.7431 MB / 1.323 GB, free: 4.301 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003333/0.9726, allocations: 118.6 kB / 1.323 GB, free: 4.184 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01074/0.9833, allocations: 5.392 MB / 1.329 GB, free: 14.76 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.482e-05/0.9834, allocations: 12 kB / 1.329 GB, free: 14.75 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.247e-05/0.9834, allocations: 23.98 kB / 1.329 GB, free: 14.73 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.668e-05/0.9835, allocations: 3.984 kB / 1.329 GB, free: 14.72 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01534/0.9988, allocations: 8.685 MB / 1.337 GB, free: 5.914 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.147e-05/0.9988, allocations: 4 kB / 1.337 GB, free: 5.91 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004246/0.9993, allocations: 124.2 kB / 1.337 GB, free: 5.789 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007799/1.007, allocations: 2.591 MB / 1.34 GB, free: 3.188 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001211/1.007, allocations: 24 kB / 1.34 GB, free: 3.164 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03058/1.038, allocations: 24.17 MB / 1.363 GB, free: 10.43 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.031e-06/1.038, allocations: 4 kB / 1.363 GB, free: 10.42 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009921/1.048, allocations: 5.252 MB / 1.369 GB, free: 5.09 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009017/1.049, allocations: 487.6 kB / 1.369 GB, free: 4.594 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003098/1.049, allocations: 36.28 kB / 1.369 GB, free: 4.559 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009394/1.05, allocations: 71.91 kB / 1.369 GB, free: 4.488 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000526/1.051, allocations: 129 kB / 1.369 GB, free: 4.359 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000112/1.051, allocations: 36 kB / 1.369 GB, free: 4.324 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.0009053/1.052, allocations: 0.6434 MB / 1.37 GB, free: 3.688 MB / 1.092 GB Notification: Performance of sort global known variables: time 1e-07/1.052, allocations: 0 / 1.37 GB, free: 3.688 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.00238/1.054, allocations: 0.7227 MB / 1.371 GB, free: 2.965 MB / 1.092 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.01062/1.065, allocations: 5.823 MB / 1.376 GB, free: 13.04 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.007176/1.072, allocations: 4.207 MB / 1.38 GB, free: 8.785 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 1.093e-05/1.072, allocations: 4 kB / 1.38 GB, free: 8.781 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.004968/1.077, allocations: 2.708 MB / 1.383 GB, free: 6.02 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001637/1.079, allocations: 217.4 kB / 1.383 GB, free: 5.812 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03682/1.115, allocations: 21.4 MB / 1.404 GB, free: 15.95 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001718/1.117, allocations: 1.7 MB / 1.406 GB, free: 14.22 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.0007295/1.118, allocations: 337.4 kB / 1.406 GB, free: 13.89 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006536/1.119, allocations: 0.5344 MB / 1.407 GB, free: 13.36 MB / 1.139 GB Notification: Performance of SimCode: time 6.21e-07/1.119, allocations: 0 / 1.407 GB, free: 13.36 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08696/1.206, allocations: 53.75 MB / 1.459 GB, free: 7.961 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.99/12.19, allocations: 23.39 kB / 1.459 GB, free: 7.941 MB / 1.186 GB (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches