Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.OnePhase.Loads.Examples.TestImpedance,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_OnePhase_Loads_Examples_TestImpedance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_OnePhase_Loads_Examples_TestImpedance",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.0007716/0.0007716, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.004903/0.004903, allocations: 169 kB / 16.26 MB, free: 6.652 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.295/1.295, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.614/2.614, allocations: 462.6 MB / 0.7364 GB, free: 15.61 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003481/0.0003482, allocations: 7.875 kB / 0.9029 GB, free: 36.43 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2933/0.2937, allocations: 159.6 MB / 1.059 GB, free: 4.875 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance): time 0.005257/0.299, allocations: 4.49 MB / 1.063 GB, free: 372 kB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.003789/0.3028, allocations: 2.428 MB / 1.066 GB, free: 13.93 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005059/0.3034, allocations: 19.81 kB / 1.066 GB, free: 13.91 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0003568/0.3037, allocations: 95.2 kB / 1.066 GB, free: 13.81 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.001139/0.3049, allocations: 414 kB / 1.066 GB, free: 13.41 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008741/0.3058, allocations: 352.2 kB / 1.066 GB, free: 13.06 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.001242/0.307, allocations: 1.12 MB / 1.067 GB, free: 11.94 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007691/0.3078, allocations: 468.2 kB / 1.068 GB, free: 11.46 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005463/0.3084, allocations: 290.7 kB / 1.068 GB, free: 11.17 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005049/0.3089, allocations: 334.4 kB / 1.069 GB, free: 10.84 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 6.679e-05/0.309, allocations: 20 kB / 1.069 GB, free: 10.82 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008066/0.3098, allocations: 498.9 kB / 1.069 GB, free: 10.34 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001858/0.31, allocations: 159.5 kB / 1.069 GB, free: 10.18 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0003316/0.3103, allocations: 319.9 kB / 1.069 GB, free: 9.859 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0009761/0.3113, allocations: 0.8682 MB / 1.07 GB, free: 8.988 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.3113, allocations: 4 kB / 1.07 GB, free: 8.984 MB / 0.8262 GB Notification: Performance of FrontEnd: time 9.22e-07/0.3113, allocations: 0 / 1.07 GB, free: 8.984 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 2.122e-05/0.3114, allocations: 0 / 1.07 GB, free: 8.984 MB / 0.8262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 129 * Number of variables: 129 Notification: Performance of Generate backend data structure: time 0.001257/0.3126, allocations: 0.8297 MB / 1.071 GB, free: 8.105 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.696e-05/0.3127, allocations: 15.97 kB / 1.071 GB, free: 8.09 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001081/0.3128, allocations: 90.69 kB / 1.071 GB, free: 7.992 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001262/0.314, allocations: 203.8 kB / 1.071 GB, free: 7.793 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006441/0.3147, allocations: 490.3 kB / 1.072 GB, free: 7.273 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.864e-05/0.3147, allocations: 33.38 kB / 1.072 GB, free: 7.242 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.725e-05/0.3148, allocations: 48.34 kB / 1.072 GB, free: 7.195 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001013/0.3158, allocations: 0.8484 MB / 1.073 GB, free: 6.215 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.361e-05/0.3159, allocations: 7.938 kB / 1.073 GB, free: 6.207 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.011e-05/0.3159, allocations: 27.98 kB / 1.073 GB, free: 6.18 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.987e-05/0.316, allocations: 64.95 kB / 1.073 GB, free: 6.113 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008258/0.3169, allocations: 0.5695 MB / 1.073 GB, free: 5.547 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003793/0.3207, allocations: 5.643 MB / 1.079 GB, free: 15.51 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005917/0.3213, allocations: 460.1 kB / 1.079 GB, free: 15.05 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002825/0.3216, allocations: 224.7 kB / 1.08 GB, free: 14.83 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.087e-05/0.3216, allocations: 4.531 kB / 1.08 GB, free: 14.82 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.195e-05/0.3216, allocations: 34.56 kB / 1.08 GB, free: 14.78 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=32): time 1.423e-06/0.3216, allocations: 3.938 kB / 1.08 GB, free: 14.78 MB / 0.8419 GB Notification: Performance of matching and sorting (n=33): time 0.002277/0.3239, allocations: 1.52 MB / 1.081 GB, free: 13.14 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.208e-05/0.3239, allocations: 55.69 kB / 1.081 GB, free: 13.07 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000443/0.3244, allocations: 0.491 MB / 1.082 GB, free: 12.57 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.862e-05/0.3244, allocations: 29.7 kB / 1.082 GB, free: 12.54 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002002/0.3246, allocations: 354.8 kB / 1.082 GB, free: 12.18 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 8.736e-05/0.3247, allocations: 118.3 kB / 1.082 GB, free: 12.07 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.444e-05/0.3248, allocations: 57.7 kB / 1.082 GB, free: 12 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001492/0.325, allocations: 366.8 kB / 1.083 GB, free: 11.64 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002954/0.3253, allocations: 189.2 kB / 1.083 GB, free: 11.45 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004093/0.3257, allocations: 447.3 kB / 1.083 GB, free: 10.9 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007752/0.3265, allocations: 0.6877 MB / 1.084 GB, free: 10.09 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.3265, allocations: 4 kB / 1.084 GB, free: 10.09 MB / 0.8419 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001175/0.3276, allocations: 0.8056 MB / 1.085 GB, free: 9.262 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.723e-05/0.3277, allocations: 8 kB / 1.085 GB, free: 9.254 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.758e-06/0.3277, allocations: 12.12 kB / 1.085 GB, free: 9.242 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004353/0.3281, allocations: 156.1 kB / 1.085 GB, free: 9.074 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004193/0.3286, allocations: 123.7 kB / 1.085 GB, free: 8.953 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002789/0.3314, allocations: 4.044 MB / 1.089 GB, free: 4.512 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003358/0.3317, allocations: 31.97 kB / 1.089 GB, free: 4.48 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.884e-05/0.3318, allocations: 35.92 kB / 1.089 GB, free: 4.445 MB / 0.8419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * 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 (66): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002249/0.332, allocations: 213.8 kB / 1.089 GB, free: 4.227 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.31e-05/0.3321, allocations: 63.25 kB / 1.089 GB, free: 4.164 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001033/0.3331, allocations: 0.5932 MB / 1.09 GB, free: 3.551 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.97e-06/0.3331, allocations: 4 kB / 1.09 GB, free: 3.547 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.692e-06/0.3331, allocations: 7.938 kB / 1.09 GB, free: 3.539 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.071e-06/0.3332, allocations: 3.984 kB / 1.09 GB, free: 3.535 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001806/0.335, allocations: 1.254 MB / 1.091 GB, free: 2.191 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.109e-06/0.335, allocations: 4 kB / 1.091 GB, free: 2.188 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002522/0.3352, allocations: 55.89 kB / 1.091 GB, free: 2.133 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003908/0.3356, allocations: 140.4 kB / 1.091 GB, free: 1.98 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.709e-05/0.3357, allocations: 12 kB / 1.091 GB, free: 1.969 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00278/0.3385, allocations: 4.04 MB / 1.095 GB, free: 13.52 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.506e-06/0.3385, allocations: 4.031 kB / 1.095 GB, free: 13.52 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008919/0.3394, allocations: 0.7077 MB / 1.096 GB, free: 12.76 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001694/0.3396, allocations: 172.3 kB / 1.096 GB, free: 12.57 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.687e-05/0.3396, allocations: 8 kB / 1.096 GB, free: 12.56 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000252/0.3399, allocations: 19.97 kB / 1.096 GB, free: 12.54 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.729e-05/0.34, allocations: 35.91 kB / 1.096 GB, free: 12.51 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.705e-05/0.34, allocations: 12 kB / 1.096 GB, free: 12.5 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0003118/0.3403, allocations: 334.8 kB / 1.096 GB, free: 12.17 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3403, allocations: 0 / 1.096 GB, free: 12.17 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.000572/0.3409, allocations: 136 kB / 1.097 GB, free: 12.04 MB / 0.8575 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (29): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001209/0.3421, allocations: 1.268 MB / 1.098 GB, free: 10.7 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.001301/0.3434, allocations: 1.041 MB / 1.099 GB, free: 9.582 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.3434, allocations: 0 / 1.099 GB, free: 9.582 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0007751/0.3442, allocations: 0.7386 MB / 1.1 GB, free: 8.762 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001059/0.3453, allocations: 184.7 kB / 1.1 GB, free: 8.586 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006209/0.3515, allocations: 5.408 MB / 1.105 GB, free: 2.793 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005005/0.352, allocations: 0.9019 MB / 1.106 GB, free: 1.863 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0003567/0.3524, allocations: 121.3 kB / 1.106 GB, free: 1.742 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002476/0.3526, allocations: 195.4 kB / 1.106 GB, free: 1.551 MB / 0.8575 GB Notification: Performance of SimCode: time 5.81e-07/0.3526, allocations: 0 / 1.106 GB, free: 1.551 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0252/0.3779, allocations: 12 MB / 1.118 GB, free: 5.832 MB / 0.8731 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001767/0.3781, allocations: 248.2 kB / 1.118 GB, free: 5.57 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.055/2.433, allocations: 1.562 kB / 1.118 GB, free: 5.57 MB / 0.8731 GB (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_OnePhase_Loads_Examples_TestImpedance_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_OnePhase_Loads_Examples_TestImpedance.fmu > Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_OnePhase_Loads_Examples_TestImpedance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches