Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001392/0.001392, allocations: 112.9 kB / 17.54 MB, free: 4.641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001459/0.001459, allocations: 189.9 kB / 20.71 MB, free: 1.484 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "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: 225.6 MB / 249.3 MB, free: 3.18 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.498/2.498, allocations: 476.7 MB / 0.7628 GB, free: 15.09 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_RL_N,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001766/0.001766, allocations: 67.89 kB / 1.107 GB, free: 5.141 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7464/0.7482, allocations: 168.7 MB / 1.271 GB, free: 7.695 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N): time 0.02355/0.7717, allocations: 24.46 MB / 1.295 GB, free: 7.391 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.01076/0.7825, allocations: 6.659 MB / 1.302 GB, free: 2.832 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001749/0.7842, allocations: 96.91 kB / 1.302 GB, free: 2.801 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.003971/0.7882, allocations: 1.554 MB / 1.303 GB, free: 1.906 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.004162/0.7923, allocations: 1.938 MB / 1.305 GB, free: 0.7891 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.003438/0.7958, allocations: 1.504 MB / 1.307 GB, free: 15.96 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.007951/0.8037, allocations: 6.912 MB / 1.314 GB, free: 12.97 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005303/0.809, allocations: 3.487 MB / 1.317 GB, free: 11.21 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004566/0.8136, allocations: 2.882 MB / 1.32 GB, free: 9.922 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005392/0.819, allocations: 3.732 MB / 1.323 GB, free: 8.469 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0008525/0.8198, allocations: 0.5271 MB / 1.324 GB, free: 8.469 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002617/0.8225, allocations: 1.193 MB / 1.325 GB, free: 8.227 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.002664/0.8251, allocations: 2.541 MB / 1.328 GB, free: 7.234 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.002998/0.8281, allocations: 2.523 MB / 1.33 GB, free: 5.629 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.009473/0.8376, allocations: 8.552 MB / 1.338 GB, free: 1.902 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.97e-06/0.8376, allocations: 3.938 kB / 1.338 GB, free: 1.898 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.383e-06/0.8376, allocations: 1.312 kB / 1.338 GB, free: 1.898 MB / 1.029 GB Notification: Performance of Transformations before backend: time 0.0001586/0.8378, allocations: 0 / 1.338 GB, free: 1.898 MB / 1.029 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1053 * Number of variables: 1053 Notification: Performance of Generate backend data structure: time 0.008181/0.8459, allocations: 4.543 MB / 1.343 GB, free: 14.77 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.379e-05/0.846, allocations: 10.06 kB / 1.343 GB, free: 14.77 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008063/0.8468, allocations: 0.5746 MB / 1.343 GB, free: 14.36 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008064/0.8548, allocations: 1.698 MB / 1.345 GB, free: 13.49 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00434/0.8592, allocations: 2.715 MB / 1.348 GB, free: 11.75 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001848/0.8594, allocations: 278 kB / 1.348 GB, free: 11.62 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006078/0.86, allocations: 364.9 kB / 1.348 GB, free: 11.5 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01085/0.8708, allocations: 7.486 MB / 1.356 GB, free: 7.008 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.468e-05/0.8709, allocations: 12.53 kB / 1.356 GB, free: 7 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004559/0.8714, allocations: 158.4 kB / 1.356 GB, free: 6.883 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000553/0.8719, allocations: 485.4 kB / 1.356 GB, free: 6.73 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008754/0.8807, allocations: 5.701 MB / 1.362 GB, free: 3.809 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.032/0.9127, allocations: 31.54 MB / 1.393 GB, free: 5.805 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002639/0.9153, allocations: 2.026 MB / 1.395 GB, free: 3.77 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002748/0.9181, allocations: 2.104 MB / 1.397 GB, free: 1.664 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001189/0.9182, allocations: 17.31 kB / 1.397 GB, free: 1.645 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.411e-05/0.9182, allocations: 51.88 kB / 1.397 GB, free: 1.586 MB / 1.076 GB Notification: Performance of pre-optimization done (n=146): time 3.006e-06/0.9182, allocations: 0 / 1.397 GB, free: 1.586 MB / 1.076 GB Notification: Performance of matching and sorting (n=251): time 0.2888/1.207, allocations: 76.79 MB / 1.472 GB, free: 4.652 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.163e-05/1.207, allocations: 85.34 kB / 1.472 GB, free: 4.555 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00223/1.209, allocations: 1.666 MB / 1.473 GB, free: 2.844 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 0.0002488/1.21, allocations: 69.7 kB / 1.473 GB, free: 2.77 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.001247/1.211, allocations: 1.796 MB / 1.475 GB, free: 0.957 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008239/1.212, allocations: 0.8946 MB / 1.476 GB, free: 56 kB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001006/1.213, allocations: 489.4 kB / 1.477 GB, free: 15.57 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001092/1.213, allocations: 301.1 kB / 1.477 GB, free: 15.27 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003683/1.216, allocations: 2.726 MB / 1.479 GB, free: 12.54 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00413/1.221, allocations: 3.336 MB / 1.483 GB, free: 8.961 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008219/1.229, allocations: 6.397 MB / 1.489 GB, free: 2.32 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.053e-05/1.229, allocations: 8 kB / 1.489 GB, free: 2.312 MB / 1.17 GB Notification: Performance of matching and sorting (n=331) (initialization): time 0.03097/1.26, allocations: 14.4 MB / 1.503 GB, free: 3.859 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 3.067e-05/1.26, allocations: 15.98 kB / 1.503 GB, free: 3.844 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.685e-05/1.26, allocations: 23.94 kB / 1.503 GB, free: 3.82 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02794/1.288, allocations: 9.23 MB / 1.512 GB, free: 10.57 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001178/1.289, allocations: 303.5 kB / 1.512 GB, free: 10.27 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0789/1.368, allocations: 52.41 MB / 1.564 GB, free: 4.977 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002844/1.371, allocations: 223.7 kB / 1.564 GB, free: 4.758 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002497/1.371, allocations: 104 kB / 1.564 GB, free: 4.656 MB / 1.248 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (157): * Single equations (assignments): 151 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(19,19,64.8%), (19,19,60.9%), (12,18,50.0%), (12,18,50.0%), (12,10,52.8%), (12,10,52.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002699/1.374, allocations: 1.584 MB / 1.565 GB, free: 3.062 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000474/1.374, allocations: 258.5 kB / 1.566 GB, free: 2.809 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03171/1.406, allocations: 14.48 MB / 1.58 GB, free: 4.277 MB / 1.264 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.113e-05/1.406, allocations: 24 kB / 1.58 GB, free: 4.254 MB / 1.264 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.601e-05/1.406, allocations: 44 kB / 1.58 GB, free: 4.211 MB / 1.264 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.668e-05/1.406, allocations: 15.95 kB / 1.58 GB, free: 4.195 MB / 1.264 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04/1.446, allocations: 20.23 MB / 1.6 GB, free: 15.76 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.504e-05/1.446, allocations: 8 kB / 1.6 GB, free: 15.75 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007607/1.447, allocations: 163.7 kB / 1.6 GB, free: 15.59 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02797/1.475, allocations: 9.008 MB / 1.609 GB, free: 6.555 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003024/1.475, allocations: 48 kB / 1.609 GB, free: 6.508 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.07878/1.554, allocations: 51.95 MB / 1.659 GB, free: 1.672 MB / 1.342 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.688e-06/1.554, allocations: 11.94 kB / 1.659 GB, free: 1.66 MB / 1.342 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03109/1.585, allocations: 14.1 MB / 1.673 GB, free: 3.418 MB / 1.357 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001867/1.587, allocations: 0.8507 MB / 1.674 GB, free: 2.547 MB / 1.357 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003783/1.587, allocations: 48 kB / 1.674 GB, free: 2.5 MB / 1.357 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001984/1.589, allocations: 211.7 kB / 1.674 GB, free: 2.293 MB / 1.357 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00111/1.59, allocations: 245.5 kB / 1.675 GB, free: 2.051 MB / 1.357 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002092/1.59, allocations: 64 kB / 1.675 GB, free: 1.988 MB / 1.357 GB Notification: Performance of sorting global known variables: time 0.001515/1.592, allocations: 1.121 MB / 1.676 GB, free: 0.8438 MB / 1.357 GB Notification: Performance of sort global known variables: time 1.2e-07/1.592, allocations: 0 / 1.676 GB, free: 0.8438 MB / 1.357 GB Notification: Performance of remove unused functions: time 0.004077/1.596, allocations: 1.617 MB / 1.677 GB, free: 15.22 MB / 1.373 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (80): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(12,10,53.5%), (12,18,50.0%), (19,19,64.8%), (12,10,53.5%), (12,18,50.0%), (19,19,54.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.03071/1.627, allocations: 14.71 MB / 1.692 GB, free: 376 kB / 1.373 GB Notification: Performance of simCode: created initialization part: time 0.02158/1.648, allocations: 10.21 MB / 1.702 GB, free: 6.09 MB / 1.389 GB Notification: Performance of simCode: created event and clocks part: time 5.39e-06/1.648, allocations: 4 kB / 1.702 GB, free: 6.086 MB / 1.389 GB Notification: Performance of simCode: created simulation system equations: time 0.01661/1.665, allocations: 7.004 MB / 1.708 GB, free: 15 MB / 1.404 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002759/1.668, allocations: 0.5506 MB / 1.709 GB, free: 14.46 MB / 1.404 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09214/1.76, allocations: 50.52 MB / 1.758 GB, free: 10.86 MB / 1.451 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0034/1.763, allocations: 3.224 MB / 1.761 GB, free: 7.602 MB / 1.451 GB Notification: Performance of simCode: alias equations: time 0.0009724/1.764, allocations: 391.3 kB / 1.762 GB, free: 7.215 MB / 1.451 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001531/1.766, allocations: 1.464 MB / 1.763 GB, free: 5.75 MB / 1.451 GB Notification: Performance of SimCode: time 8.82e-07/1.766, allocations: 4 kB / 1.763 GB, free: 5.746 MB / 1.451 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7012/2.467, allocations: 122.9 MB / 1.883 GB, free: 0.4905 GB / 1.529 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.95/15.42, allocations: 5.688 kB / 1.883 GB, free: 0.4905 GB / 1.529 GB " [Timeout remaining time 284] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N_res.mat --tempDir=temp_Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N.fmu > Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 20.925396409000314]