Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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_N,fileNamePrefix="Buildings_10_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_10_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.001277/0.001277, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001327/0.001327, allocations: 191.5 kB / 16.14 MB, free: 6.711 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.302/1.302, allocations: 222.9 MB / 239.8 MB, free: 4.598 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.476/2.476, allocations: 437 MB / 0.7099 GB, free: 5.375 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001322/0.001322, allocations: 75.88 kB / 0.8687 GB, free: 5.082 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5384/0.5398, allocations: 151.6 MB / 1.017 GB, free: 2.777 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N): time 0.01157/0.5514, allocations: 10.05 MB / 1.027 GB, free: 8.684 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.005117/0.5565, allocations: 3.185 MB / 1.03 GB, free: 5.488 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007928/0.5573, allocations: 27.88 kB / 1.03 GB, free: 5.461 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.001599/0.559, allocations: 0.5445 MB / 1.03 GB, free: 4.918 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.001535/0.5605, allocations: 0.7042 MB / 1.031 GB, free: 4.211 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.001487/0.562, allocations: 0.6825 MB / 1.032 GB, free: 3.527 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.003754/0.5658, allocations: 4.486 MB / 1.036 GB, free: 15.03 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003689/0.5695, allocations: 2.845 MB / 1.039 GB, free: 12.15 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001608/0.5711, allocations: 1.059 MB / 1.04 GB, free: 11.09 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002237/0.5733, allocations: 1.605 MB / 1.041 GB, free: 9.477 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.0005703/0.5739, allocations: 164 kB / 1.041 GB, free: 9.316 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001342/0.5753, allocations: 0.5032 MB / 1.042 GB, free: 8.812 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.00136/0.5766, allocations: 1.002 MB / 1.043 GB, free: 7.809 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.001847/0.5785, allocations: 1.03 MB / 1.044 GB, free: 6.773 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.003543/0.5821, allocations: 3.63 MB / 1.048 GB, free: 3.133 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 5.059e-06/0.5821, allocations: 0 / 1.048 GB, free: 3.133 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.512e-06/0.5821, allocations: 0 / 1.048 GB, free: 3.133 MB / 0.795 GB Notification: Performance of Transformations before backend: time 0.0001188/0.5822, allocations: 0 / 1.048 GB, free: 3.133 MB / 0.795 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.005003/0.5872, allocations: 2.138 MB / 1.05 GB, free: 0.9375 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.285e-05/0.5873, allocations: 15.95 kB / 1.05 GB, free: 0.9219 MB / 0.795 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000612/0.5879, allocations: 265.2 kB / 1.05 GB, free: 0.6523 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008556/0.5965, allocations: 1.309 MB / 1.051 GB, free: 15.34 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002864/0.5993, allocations: 1.251 MB / 1.052 GB, free: 14.05 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000111/0.5995, allocations: 119.3 kB / 1.052 GB, free: 13.93 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005712/0.6, allocations: 148.2 kB / 1.053 GB, free: 13.79 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00589/0.6059, allocations: 3.437 MB / 1.056 GB, free: 10.25 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.44e-05/0.606, allocations: 7.938 kB / 1.056 GB, free: 10.24 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002769/0.6063, allocations: 63.97 kB / 1.056 GB, free: 10.18 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002561/0.6065, allocations: 211.1 kB / 1.056 GB, free: 9.973 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005101/0.6117, allocations: 3.128 MB / 1.059 GB, free: 6.84 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01663/0.6283, allocations: 13.62 MB / 1.073 GB, free: 8.336 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002438/0.6308, allocations: 1.73 MB / 1.074 GB, free: 6.605 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001917/0.6327, allocations: 1.436 MB / 1.076 GB, free: 5.16 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001083/0.6328, allocations: 13 kB / 1.076 GB, free: 5.148 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.502e-05/0.6329, allocations: 43.56 kB / 1.076 GB, free: 5.098 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=104): time 2.795e-06/0.6329, allocations: 0 / 1.076 GB, free: 5.098 MB / 0.8262 GB Notification: Performance of matching and sorting (n=183): time 0.1317/0.7645, allocations: 36.67 MB / 1.112 GB, free: 292 kB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.937e-05/0.7646, allocations: 73.41 kB / 1.112 GB, free: 204 kB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001523/0.7662, allocations: 1.058 MB / 1.113 GB, free: 15.11 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.0001923/0.7664, allocations: 53.7 kB / 1.113 GB, free: 15.05 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004913/0.7669, allocations: 0.7872 MB / 1.113 GB, free: 14.26 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005559/0.7674, allocations: 0.6239 MB / 1.114 GB, free: 13.62 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007565/0.7682, allocations: 359.3 kB / 1.114 GB, free: 13.27 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001022/0.7683, allocations: 309.1 kB / 1.115 GB, free: 12.96 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002744/0.7711, allocations: 1.928 MB / 1.117 GB, free: 11.04 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002877/0.7739, allocations: 2.285 MB / 1.119 GB, free: 8.625 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005517/0.7795, allocations: 4.394 MB / 1.123 GB, free: 4.109 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.578e-06/0.7795, allocations: 8 kB / 1.123 GB, free: 4.102 MB / 0.8731 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.01855/0.798, allocations: 9.018 MB / 1.132 GB, free: 11.05 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 3.749e-05/0.7981, allocations: 9.719 kB / 1.132 GB, free: 11.05 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.065e-05/0.7981, allocations: 8 kB / 1.132 GB, free: 11.04 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01719/0.8153, allocations: 4.978 MB / 1.137 GB, free: 6.047 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008288/0.8162, allocations: 191.7 kB / 1.137 GB, free: 5.859 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05367/0.8699, allocations: 35.28 MB / 1.171 GB, free: 2.012 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001721/0.8716, allocations: 107.9 kB / 1.172 GB, free: 1.906 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000331/0.872, allocations: 68 kB / 1.172 GB, free: 1.84 MB / 0.92 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.001546/0.8735, allocations: 0.8056 MB / 1.172 GB, free: 1.023 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003705/0.8739, allocations: 138.3 kB / 1.173 GB, free: 0.8867 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01923/0.8931, allocations: 8.886 MB / 1.181 GB, free: 7.957 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.734e-05/0.8932, allocations: 23.94 kB / 1.181 GB, free: 7.934 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.409e-05/0.8932, allocations: 31.98 kB / 1.181 GB, free: 7.902 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.671e-05/0.8933, allocations: 11.97 kB / 1.181 GB, free: 7.891 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02538/0.9187, allocations: 13.3 MB / 1.194 GB, free: 10.43 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-05/0.9187, allocations: 4 kB / 1.194 GB, free: 10.43 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004226/0.9191, allocations: 123.8 kB / 1.194 GB, free: 10.31 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01599/0.9351, allocations: 4.755 MB / 1.199 GB, free: 5.539 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001683/0.9353, allocations: 28 kB / 1.199 GB, free: 5.512 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04714/0.9825, allocations: 31.59 MB / 1.23 GB, free: 5.363 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.29e-06/0.9825, allocations: 11.94 kB / 1.23 GB, free: 5.352 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01801/1.001, allocations: 8.396 MB / 1.238 GB, free: 12.86 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00115/1.002, allocations: 0.6085 MB / 1.239 GB, free: 12.23 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003589/1.002, allocations: 43.92 kB / 1.239 GB, free: 12.19 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001176/1.003, allocations: 87.89 kB / 1.239 GB, free: 12.11 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008302/1.004, allocations: 165.4 kB / 1.239 GB, free: 11.94 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001578/1.004, allocations: 48 kB / 1.239 GB, free: 11.89 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001046/1.005, allocations: 0.7382 MB / 1.24 GB, free: 11.14 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.31e-07/1.005, allocations: 0 / 1.24 GB, free: 11.14 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.002939/1.008, allocations: 1.004 MB / 1.241 GB, free: 10.14 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 (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%), (14,24,80.1%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01827/1.027, allocations: 8.992 MB / 1.25 GB, free: 1.055 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.427/1.454, allocations: 5.852 MB / 1.255 GB, free: 221.1 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 8.956e-06/1.454, allocations: 0.8125 kB / 1.255 GB, free: 221.1 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.008145/1.462, allocations: 3.826 MB / 1.259 GB, free: 220.5 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001734/1.464, allocations: 225 kB / 1.259 GB, free: 220.5 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05788/1.521, allocations: 32.48 MB / 1.291 GB, free: 206.5 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002354/1.524, allocations: 1.86 MB / 1.293 GB, free: 204.8 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0009597/1.525, allocations: 353 kB / 1.293 GB, free: 204.4 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007467/1.526, allocations: 0.6085 MB / 1.294 GB, free: 203.8 MB / 0.9981 GB Notification: Performance of SimCode: time 9.22e-07/1.526, allocations: 0.7656 kB / 1.294 GB, free: 203.8 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07851/1.604, allocations: 72.73 MB / 1.365 GB, free: 131.5 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001502/1.604, allocations: 257.9 kB / 1.365 GB, free: 131.2 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.548/4.153, allocations: 4 kB / 1.365 GB, free: 131.2 MB / 0.9981 GB (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N_res.mat --tempDir=temp_Buildings_10_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N.fmu > Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches