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 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-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.0008588/0.0008585, allocations: 86.95 kB / 15.06 MB, free: 1.09 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.0008409/0.0008409, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.433/1.433, allocations: 223.2 MB / 240 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.613/2.613, allocations: 409.4 MB / 0.684 GB, free: 0.918 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0005456/0.0005458, allocations: 8 kB / 0.8378 GB, free: 6.508 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7972/0.7978, allocations: 146.8 MB / 0.9811 GB, free: 6.262 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N): time 0.01036/0.8082, allocations: 9.07 MB / 0.99 GB, free: 13.16 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.005371/0.8136, allocations: 3.027 MB / 0.993 GB, free: 10.12 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006945/0.8144, allocations: 31.81 kB / 0.993 GB, free: 10.09 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.0004281/0.8148, allocations: 174.7 kB / 0.9932 GB, free: 9.918 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.00124/0.8161, allocations: 0.6261 MB / 0.9938 GB, free: 9.289 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.001189/0.8173, allocations: 0.5186 MB / 0.9943 GB, free: 8.77 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.003376/0.8207, allocations: 3.51 MB / 0.9977 GB, free: 5.254 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004228/0.8249, allocations: 2.714 MB / 1 GB, free: 2.496 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001805/0.8267, allocations: 0.9653 MB / 1.001 GB, free: 1.527 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002151/0.8289, allocations: 1.433 MB / 1.003 GB, free: 92 kB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0002806/0.8292, allocations: 116 kB / 1.003 GB, free: 15.97 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007146/0.8299, allocations: 255.7 kB / 1.003 GB, free: 15.73 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.0009405/0.8309, allocations: 0.9315 MB / 1.004 GB, free: 14.79 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.0004598/0.8313, allocations: 384.6 kB / 1.004 GB, free: 14.41 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.002756/0.8341, allocations: 3.002 MB / 1.007 GB, free: 11.4 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 7.143e-06/0.8341, allocations: 4 kB / 1.007 GB, free: 11.4 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.964e-06/0.8341, allocations: 0 / 1.007 GB, free: 11.4 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.948e-05/0.8342, allocations: 0 / 1.007 GB, free: 11.4 MB / 0.7637 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.003202/0.8374, allocations: 1.778 MB / 1.009 GB, free: 9.566 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.521e-05/0.8374, allocations: 8.031 kB / 1.009 GB, free: 9.559 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003675/0.8378, allocations: 268.9 kB / 1.009 GB, free: 9.285 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007755/0.8456, allocations: 1.316 MB / 1.011 GB, free: 7.965 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002429/0.848, allocations: 1.223 MB / 1.012 GB, free: 6.699 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.789e-05/0.8481, allocations: 126.9 kB / 1.012 GB, free: 6.574 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004307/0.8486, allocations: 148 kB / 1.012 GB, free: 6.43 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005643/0.8542, allocations: 3.421 MB / 1.015 GB, free: 2.91 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.939e-05/0.8543, allocations: 4 kB / 1.015 GB, free: 2.906 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002081/0.8545, allocations: 63.97 kB / 1.015 GB, free: 2.844 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002453/0.8548, allocations: 207.1 kB / 1.016 GB, free: 2.641 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005888/0.8607, allocations: 3.112 MB / 1.019 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01784/0.8786, allocations: 13.6 MB / 1.032 GB, free: 1.047 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002568/0.8812, allocations: 1.717 MB / 1.034 GB, free: 15.32 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002026/0.8832, allocations: 1.429 MB / 1.035 GB, free: 13.89 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001039/0.8833, allocations: 13 kB / 1.035 GB, free: 13.88 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.895e-05/0.8834, allocations: 43.56 kB / 1.035 GB, free: 13.83 MB / 0.795 GB Notification: Performance of pre-optimization done (n=104): time 4.588e-06/0.8834, allocations: 0 / 1.035 GB, free: 13.83 MB / 0.795 GB Notification: Performance of matching and sorting (n=183): time 0.1263/1.01, allocations: 35.93 MB / 1.07 GB, free: 9.758 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.768e-05/1.01, allocations: 69.41 kB / 1.07 GB, free: 9.676 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001947/1.012, allocations: 1.042 MB / 1.071 GB, free: 8.609 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 0.0003827/1.012, allocations: 53.7 kB / 1.071 GB, free: 8.551 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006698/1.013, allocations: 0.7912 MB / 1.072 GB, free: 7.746 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008872/1.014, allocations: 0.62 MB / 1.073 GB, free: 7.117 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002787/1.014, allocations: 40 kB / 1.073 GB, free: 7.078 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0002176/1.014, allocations: 389.9 kB / 1.073 GB, free: 6.691 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002903/1.017, allocations: 1.921 MB / 1.075 GB, free: 4.77 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003145/1.02, allocations: 2.273 MB / 1.077 GB, free: 2.375 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003173/1.023, allocations: 2.213 MB / 1.079 GB, free: 168 kB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.937e-06/1.023, allocations: 0 / 1.079 GB, free: 168 kB / 0.8262 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.01937/1.043, allocations: 8.994 MB / 1.088 GB, free: 7.137 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 3.92e-05/1.043, allocations: 8 kB / 1.088 GB, free: 7.129 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.603e-05/1.043, allocations: 8 kB / 1.088 GB, free: 7.121 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0159/1.059, allocations: 4.967 MB / 1.093 GB, free: 2.141 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008964/1.06, allocations: 199.6 kB / 1.093 GB, free: 1.945 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05659/1.116, allocations: 35.08 MB / 1.127 GB, free: 14.3 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002065/1.119, allocations: 99.89 kB / 1.128 GB, free: 14.2 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005151/1.119, allocations: 75.92 kB / 1.128 GB, free: 14.13 MB / 0.8887 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 (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(8,100.0%) 16,(8,100.0%) 16,(8,100.0%) 38,(8,100.0%) 38} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002153/1.121, allocations: 0.8017 MB / 1.128 GB, free: 13.32 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004857/1.122, allocations: 142.3 kB / 1.129 GB, free: 13.18 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01899/1.141, allocations: 8.859 MB / 1.137 GB, free: 4.277 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.019e-05/1.141, allocations: 27.94 kB / 1.137 GB, free: 4.25 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.139e-05/1.141, allocations: 28 kB / 1.137 GB, free: 4.223 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.42e-05/1.141, allocations: 7.969 kB / 1.137 GB, free: 4.215 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02613/1.167, allocations: 13.24 MB / 1.15 GB, free: 6.816 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.586e-05/1.167, allocations: 4 kB / 1.15 GB, free: 6.812 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005164/1.168, allocations: 123.8 kB / 1.15 GB, free: 6.691 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01536/1.183, allocations: 4.75 MB / 1.155 GB, free: 1.926 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003998/1.184, allocations: 32 kB / 1.155 GB, free: 1.895 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04945/1.233, allocations: 31.41 MB / 1.186 GB, free: 1.93 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.396e-05/1.233, allocations: 7.938 kB / 1.186 GB, free: 1.922 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01961/1.253, allocations: 8.381 MB / 1.194 GB, free: 9.449 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001382/1.254, allocations: 0.6124 MB / 1.194 GB, free: 8.816 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005251/1.255, allocations: 39.98 kB / 1.194 GB, free: 8.777 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001358/1.256, allocations: 83.89 kB / 1.195 GB, free: 8.695 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007152/1.257, allocations: 169.4 kB / 1.195 GB, free: 8.527 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001893/1.257, allocations: 48 kB / 1.195 GB, free: 8.48 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.001093/1.258, allocations: 0.7343 MB / 1.195 GB, free: 7.734 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.31e-07/1.258, allocations: 0 / 1.195 GB, free: 7.734 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.003331/1.262, allocations: 1.004 MB / 1.196 GB, free: 6.73 MB / 0.9512 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 (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(8,100.0%) 16,(8,100.0%) 38,(8,100.0%) 8,(14,80.1%) 24} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01825/1.28, allocations: 8.965 MB / 1.205 GB, free: 13.68 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.01064/1.29, allocations: 5.819 MB / 1.211 GB, free: 7.805 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 8.807e-06/1.291, allocations: 0 / 1.211 GB, free: 7.805 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.008272/1.299, allocations: 3.793 MB / 1.215 GB, free: 3.957 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002602/1.301, allocations: 231.2 kB / 1.215 GB, free: 3.727 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04391/1.345, allocations: 20.65 MB / 1.235 GB, free: 14.6 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002448/1.348, allocations: 1.863 MB / 1.237 GB, free: 12.7 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001061/1.349, allocations: 351.4 kB / 1.237 GB, free: 12.35 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009253/1.35, allocations: 0.6086 MB / 1.238 GB, free: 11.74 MB / 0.9981 GB Notification: Performance of SimCode: time 1.603e-06/1.35, allocations: 0 / 1.238 GB, free: 11.74 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6551/2.005, allocations: 69.73 MB / 1.306 GB, free: 214.9 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001711/2.005, allocations: 247.8 kB / 1.306 GB, free: 214.6 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.007/5.012, allocations: 0 / 1.306 GB, free: 214.6 MB / 0.9981 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/linux/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) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N_res.mat does not exist to compare? outputFormat=mat